Sorry for the beginner question. Unfortunately, I was not able to find an answer online…
I spent some time installing an MQTT broker on my Pi3 OSMC box. I then wanted to configure it to autorun using systemd. I setup a .service file, and struggled to get it running.
One of the problems I had was with the ExecStart command. Example .service files I saw used
ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf -d. But I found the service would not run while the
-d flag was included (and ran fine as soon as I removed it).
Is someone please able to explain what the
-d flag means? I’d especially appreciate a link to documentation (so I can figure out why I was not able to find this on my own).