From af05a6708b7ece68970a6e775f14bc9abae64d68ebba6ac2227fa1da923704cf Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Sun, 24 Mar 2024 20:04:02 +0000 Subject: [PATCH] Accepting request 1160094 from home:dstoecker:branches:network:messaging:mqtt - Add Reload action to service Mosquitto reacts to HUP with a reload, so it should be used in the service file OBS-URL: https://build.opensuse.org/request/show/1160094 OBS-URL: https://build.opensuse.org/package/show/network:messaging:mqtt/mosquitto?expand=0&rev=67 --- mosquitto.changes | 6 +++++- mosquitto.service | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/mosquitto.changes b/mosquitto.changes index d66c415..b7362d4 100644 --- a/mosquitto.changes +++ b/mosquitto.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 21 12:20:58 UTC 2024 - Dirk Stoecker + +- Add Reload action to service + ------------------------------------------------------------------- Sat Feb 3 19:15:47 UTC 2024 - Arjen de Korte @@ -1668,4 +1673,3 @@ Fri May 1 22:06:15 UTC 2015 - mrueckert@suse.de Fri May 1 20:34:01 UTC 2015 - mrueckert@suse.de - initial package - diff --git a/mosquitto.service b/mosquitto.service index 859253b..e520498 100644 --- a/mosquitto.service +++ b/mosquitto.service @@ -20,6 +20,7 @@ Type=simple User=mosquitto Group=mosquitto ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf +ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target