mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-08 22:31:04 +00:00
parent
ec86db176e
commit
3967b39a17
@ -10,5 +10,5 @@ fi
|
||||
if [ $has_systemd -eq 0 ] && [ -n "$(systemctl list-units --plain --no-legend {{.Service}})" ]; then
|
||||
deb-systemd-invoke try-restart "{{.Service}}"
|
||||
else
|
||||
pkill -HUP -x {{.Command}}
|
||||
pkill -HUP -x {{.Command}} || :
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user