This website requires JavaScript.
Explore
Help
Sign In
Martchus
/
syncthing
Watch
1
Star
0
Fork
0
You've already forked syncthing
Code
Issues
Pull Requests
Releases
Wiki
Activity
83c29e1945
syncthing
/
debian
/
postinst
7 lines
102 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add postinst script to restart after upgrade
2016-01-19 18:54:47 +01:00
#!/bin/bash
set -euo pipefail
if [[ ${1:-} == configure ]]; then
Correct order of pkill(1) arguments in debian script (fixes #2728) According to http://linux.die.net/man/1/pkill the signal name must be **before** anything else.
2016-01-24 13:10:30 +01:00
pkill -HUP -x syncthing || true
Add postinst script to restart after upgrade
2016-01-19 18:54:47 +01:00
fi
Reference in New Issue
Copy Permalink