This website requires JavaScript.
Explore
Help
Register
Sign In
octoleo
/
syncthing
Watch
1
Star
0
Fork
0
You've already forked syncthing
mirror of
https://github.com/octoleo/syncthing.git
synced
2024-11-19 03:25:16 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
0d16c8eab4
syncthing
/
debian
/
postinst
7 lines
102 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add postinst script to restart after upgrade
2016-01-19 17:54:47 +00: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 12:10:30 +00:00
pkill -HUP -x syncthing || true
Add postinst script to restart after upgrade
2016-01-19 17:54:47 +00:00
fi
Reference in New Issue
Copy Permalink