e4db8707a6
This is as per systemd documentation.
14 lines
328 B
Plaintext
14 lines
328 B
Plaintext
[Unit]
|
|
Description=Mosquitto MQTT v3.1/v3.1.1 Broker
|
|
Documentation=man:mosquitto.conf(5) man:mosquitto(8)
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|