ubuntu 18: ExecReload does not work

(cherry picked from commit 7bbc7c2306)
This commit is contained in:
Girish Ramakrishnan
2023-02-01 17:28:05 +01:00
parent 7be176a3b5
commit 0832ebf052
+3 -1
View File
@@ -35,7 +35,9 @@ elif [[ "${service}" == "docker" ]]; then
elif [[ "${service}" == "collectd" ]]; then
systemctl restart --no-block collectd
elif [[ "${service}" == "box" ]]; then
systemctl reload --no-block box
# ExecReload does not work on ubuntu 18
# systemctl reload --no-block box
systemctl kill --signal=SIGHUP box
else
echo "Unknown service ${service}"
exit 1