Add ExecReload stanza to systemd units files.

This is as per systemd documentation.
This commit is contained in:
Roger A. Light 2019-03-26 22:43:01 +00:00
parent 12e5efbee2
commit e4db8707a6
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ Wants=network-online.target
Type=notify
NotifyAccess=main
ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
[Install]

View File

@ -6,6 +6,7 @@ Wants=network-online.target
[Service]
ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
[Install]