Installing LIRC

I’m trying to install and to configure LIRC.
I’ve read many posts but unfortunately I came across many problems without finding a solution…
I’ve installed lirc using:

sudo apt-get install lirc

Mainly my problems are:

  1. No file /etc/lirc/hardware.conf

  2. No file /etc/init.d/lirc
    I can’t execute sudo /etc/init.d/lirc stop

What I’m missing? What else I’ve got to do?

I think you are running a new install of raspbian stretch. In strech a new lirc version is running and the hardware.conf and init.d are depricated.
The documentation of the lirc component in homeassitant is updated yesterday concerning this.

Did you manage to solve this?