summaryrefslogtreecommitdiffstats
path: root/net/adguardhome/files/adguardhome.conf
blob: 92d86e1fa60130525f28d5112e7e44660768e158 (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

config adguardhome 'config'
	# All paths must be readable by the configured user
	option config_file '/etc/adguardhome/adguardhome.yaml'
	# Where to store persistent data by AdGuard Home
	option work_dir '/var/lib/adguardhome'
	option user 'adguardhome'
	option group 'adguardhome'
	option verbose '0'

	# Files and directories that AdGuard Home has read-only access to
	# list jail_mount '/etc/ssl/adguardhome.crt'
	# list jail_mount '/etc/ssl/adguardhome.key'

	# Files and directories that AdGuard Home has read-write access to
	# list jail_mount_rw '/path/to/dir'

	# 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'