ubuntu 18: ExecReload does not work
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user