Hi,
Thank you so much for your exhaustive answer! The links helped me to
solve my next issue as well, that's great! I thought Debian would
focus on systemd, I better have looked for myself first.
In case someone else faces a similar issue and reads this, I like to
add a detail.
The patch
Hello Steffen,
The systemd service file does create the necessary directories (see:
https://github.com/eclipse/mosquitto/blob/master/service/systemd/mosquitto.service.simple).
/run/mosquitto not being created is most likely an issue with debian itself.
Creating the folder from the init file, as
Hi,
mosquitto does not start, because there is no /var/mosquitto directory
for its PID file. Actually it cannot even be installed, because dpkg
script already wants it.
Also creating directory does not solve the problem, because /run is
tmpfs, so manually created directory won't be there on next