mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 10:51:55 +00:00
Validate UCI config for syncthing service. Switch instance name to syncthing. Signed-off-by: George Sapkin <george@sapk.in>
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
|
|
config syncthing 'syncthing'
|
|
option enabled '0'
|
|
|
|
option gui_address 'http://0.0.0.0:8384'
|
|
|
|
# Use internal flash for evaluation purposes. Use external storage for
|
|
# production. This filesystem must either support ownership/attributes or
|
|
# be readable/writable by the user specified in 'option user'.
|
|
# Consult syslog if things go wrong.
|
|
option home '/etc/syncthing'
|
|
|
|
# Changes to "niceness"/maxprocs are not picked up by "reload_config" or by
|
|
# "restart": the service has to be stopped/started for those to take effect.
|
|
option nice '19'
|
|
|
|
# More info: https://docs.syncthing.net/users/syncthing.html
|
|
# option db_delete_retention_interval ''
|
|
# option db_maintenance_interval ''
|
|
# option gui_apikey ''
|
|
|
|
# Running as 'root' is possible, but not recommended
|
|
# option user 'syncthing'
|
|
# option group 'syncthing'
|
|
|
|
option log_file '/var/log/syncthing.log'
|
|
# option log_level 'INFO'
|
|
option log_max_old_files '7'
|
|
# Size in bytes
|
|
option log_max_size '1048576'
|
|
|
|
# Advanced options. Modify at your own risk.
|
|
|
|
# More info: https://go.dev/doc/gc-guide#GOGC
|
|
# option gc '0'
|
|
|
|
# Max number of OS threads to use
|
|
# 0 to match the number of CPUs (default)
|
|
# >0 to explicitly specify concurrency
|
|
# option maxprocs '0'
|
|
|
|
# Soft memory limit in MB, 0 to disable
|
|
# option memlimit '0'
|