Some entries in this forum suggest to quit syncthing via TERM(15) signal. Comparing both activities shows different output:
-
SHUTDOWN VIA WEBUI
[XYZWQ] 14:53:14 INFO: Access the GUI via the following URL: http://127.0.0.1:qwertz/
[XYZWQ] 14:53:21 INFO: Shutting down
[XYZWQ] 14:53:21 INFO: TCP listener ([::]:qwertz+1) shutting down
[XYZWQ] 14:53:31 INFO: Exiting
-
pkill -TERM syncthing
[XYZWQ] 14:52:28 INFO: Access the GUI via the following URL: http://127.0.0.1:qwertz/
[monitor] 14:52:35 INFO: Signal 15 received; exiting
-
JUST FOR REFERENCE: pkill -HUP syncthing
[5R3WQ] 14:43:58 INFO: Access the GUI via the following URL: http://127.0.0.1:qwertz/
[monitor] 14:44:06 INFO: Signal 1 received; restarting
[XYZWQ] 14:44:06 INFO: TCP listener ([::]:qwertz+1) shutting down
[XYZWQ] 14:44:16 INFO: Exiting
[monitor] 14:44:16 INFO: Syncthing exited: exit status 3
[monitor] 14:44:17 INFO: Starting syncthing
So, pkill -TERM looks like the hard way. Is this really the right way or rephrased : does ST perform the shut down correctly anyway?
Thanks!