summaryrefslogtreecommitdiffstats
path: root/utils/syncthing/files/syncthing.conf
blob: 2c1b6d0e2ec9ef9e105dd12545722d05b722fc30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

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"/macprocs 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'

	# 0 to match the number of CPUs (default)
	# >0 to explicitly specify concurrency
	option maxprocs '0'

	# 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 log_file '/var/log/syncthing.log'
	# option log_level 'INFO'
	option log_max_old_files '7'
	# Size in bytes
	option log_max_size '1048576'