Add postinst script to restart after upgrade
This commit is contained in:
6
debian/postinst
vendored
Executable file
6
debian/postinst
vendored
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
if [[ ${1:-} == configure ]]; then
|
||||
pkill -x -HUP syncthing || true
|
||||
fi
|
||||
Reference in New Issue
Block a user