syncthing: enable via config, lower priority, cleanup
authorMarc Benoit <marcb62185@gmail.com>
Sun, 1 Mar 2020 17:30:06 +0000 (12:30 -0500)
committerMarc Benoit <marcb62185@gmail.com>
Sun, 1 Mar 2020 23:53:27 +0000 (18:53 -0500)
commit6f6877460a775a75f16154f2d75944bf91770f0d
tree72ed4919f3429dbd9238b7029df79b9f28c628dd
parent3e0e16ec752782b7c41da434fe98cb17917afc9e
syncthing: enable via config, lower priority, cleanup

Added the ability to enable/disable via a config file;
the default is enabled for backwards compatibility.

This is an additional service, so running it the
same priority as dnsmasq, etc does not make sense.

Added USE_PROCD=1

"done" starts at "START=95", so this should start earlier

Added STOP=10 to stop syncthing early

Compile-tested on: ipq806x, ipq40xx
Runtime-tested on: ipq806x, ipq40xx

Signed-off-by: Marc Benoit <marcb62185@gmail.com>
utils/syncthing/Makefile
utils/syncthing/files/etc/config/syncthing
utils/syncthing/files/etc/init.d/syncthing