diff --git a/service/systemd/mosquitto.service.notify b/service/systemd/mosquitto.service.notify index 8a0bda55..d409887d 100644 --- a/service/systemd/mosquitto.service.notify +++ b/service/systemd/mosquitto.service.notify @@ -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] diff --git a/service/systemd/mosquitto.service.simple b/service/systemd/mosquitto.service.simple index afef8ef3..71ab4c16 100644 --- a/service/systemd/mosquitto.service.simple +++ b/service/systemd/mosquitto.service.simple @@ -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]