ubuntu 18: ExecReload does not work

This commit is contained in:
Girish Ramakrishnan
2023-02-01 17:28:05 +01:00
parent c2a7e0f092
commit 7bbc7c2306

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