aboutsummaryrefslogtreecommitdiff
path: root/utils/syncthing/files
Commit message (Collapse)AuthorAge
* syncthing: fix wrong group name in syncthing.initXiang W2024-01-02
| | | | | | | | | The group does not always have the same name as user, and when I try to run syncthing with nobody I get an error. Since nobody belongs to the group nogroup, I added some code to find out which group user belongs to. Signed-off-by: Xiang W <wxjstz@126.com>
* syncthing: fix duplicate command line parameters on serviceEric Fahlgren2023-12-04
| | | | | | - This patch fixes 9d17ba1 and #22760 Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
* syncthing: add stdiscosrv and strelaysrvVan Waholtz2022-11-04
| | | | Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
* syncthing: increase inotify limitAlberto Bursi2020-07-04
| | | | | | | | | | | | | | | | default inotify limits at 8k are low for serious usage and the GUI shows errors like "Failed to start filesystem watcher for folder XXXX" increase them with this config file as instructed by syncthing's FAQ. https://docs.syncthing.net/users/ faq.html#inotify-limits Signed-off-by: Alberto Bursi <bobafetthotmail@gmail.com> [bumped PKG_RELEASE] Signed-off-by: Paul Spooren <mail@aparcar.org>
* syncthing: configuration cleanup & hardeningMarc Benoit2020-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* syncthing: enable via config, lower priority, cleanupMarc Benoit2020-03-01
| | | | | | | | | | | | | | | | | | | 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>
* syncthing: add packagePaul Spooren2019-08-21
Signed-off-by: Paul Spooren <mail@aparcar.org>