syncthing: configuration cleanup & hardening
authorMarc Benoit <marcb62185@gmail.com>
Mon, 2 Mar 2020 14:31:12 +0000 (09:31 -0500)
committerPaul Spooren <mail@aparcar.org>
Tue, 24 Mar 2020 20:36:51 +0000 (10:36 -1000)
commita9443eb0eb9f5f8eacdb1daaa0f30f9deec1853d
tree895682f78cbf4df05bac8481cae9f456e4597217
parent36f350c582f5203429cd9a14c1b26aa143eb3d58
syncthing: configuration cleanup & hardening

Run the service under an unprivileged
user account

The following parameters are now configurable
  niceness
  max concurrency (defaults to number of CPUs)
  user

Added flags "-no-browser"
Disabled in-place upgrades (disabled in the
build already)

Redirected stderr/stdout to syslog

Added support for "reload_config"

Increased "term_timeout" to 15s to give it
plenty of time to shut down gracefully

Properly handled non-existing directories

Removed a softlink that assumes a specific naming
convention in syncthing

Added a comment that using external storage is a
recommend configration

Signed-off-by: Marc Benoit <marcb62185@gmail.com>
[increased package release]
Signed-off-by: Paul Spooren <mail@aparcar.org>
utils/syncthing/Makefile
utils/syncthing/files/etc/config/syncthing
utils/syncthing/files/etc/init.d/syncthing
utils/syncthing/files/etc/syncthing/index-v0.14.0.db [deleted symlink]