With this change, the behavior is as follows: - SIGTERM / SIGINT: Exit cleanly (exit code 0) - SIGHUP: Restart This is the case both when hitting the monitor process or the inner process, or if running with NORESTART (but then we won't restart, obviously, just exit with code exitRestarting). It enables "pkill -HUP syncthing" to do the right thing to restart all Syncthings on package upgrade, for example. |
||
---|---|---|
.. | ||
stcompdirs | ||
stevents | ||
stfileinfo | ||
stfinddevice | ||
stindex | ||
stsigtool | ||
stwatchfile | ||
syncthing | ||
todos | ||
.gitignore |