diff options
Diffstat (limited to 'script/post-upgrade')
-rw-r--r-- | script/post-upgrade | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/script/post-upgrade b/script/post-upgrade index 6be37d5bb9..5fb8ad187c 100644 --- a/script/post-upgrade +++ b/script/post-upgrade @@ -1,3 +1,8 @@ #!/bin/sh +if command -v deb-systemd-invoke > /dev/null; then + deb-systemd-invoke restart procps.service +else + sysctl -q --system +fi pkill -HUP -x syncthing || true |