From e4db8707a65c366dc505e2498774aae63db66994 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Tue, 26 Mar 2019 22:43:01 +0000 Subject: [PATCH] Add ExecReload stanza to systemd units files. This is as per systemd documentation. --- service/systemd/mosquitto.service.notify | 1 + service/systemd/mosquitto.service.simple | 1 + 2 files changed, 2 insertions(+) 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]