parent
87a0eecc31
commit
f4e112f404
|
@ -10,5 +10,5 @@ fi
|
||||||
if [ $has_systemd -eq 0 ] && [ -n "$(systemctl list-units --plain --no-legend {{.Service}})" ]; then
|
if [ $has_systemd -eq 0 ] && [ -n "$(systemctl list-units --plain --no-legend {{.Service}})" ]; then
|
||||||
deb-systemd-invoke try-restart "{{.Service}}"
|
deb-systemd-invoke try-restart "{{.Service}}"
|
||||||
else
|
else
|
||||||
pkill -HUP -x {{.Command}}
|
pkill -HUP -x {{.Command}} || :
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue