summaryrefslogtreecommitdiff
path: root/runit/Config.src
blob: 53b445101a085434dbe74ca82c6a3f11223173f7 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#
# For a description of the syntax of this configuration file,
# see scripts/kbuild/config-language.txt.
#

menu "Runit Utilities"

config RUNSV
	bool "runsv"
	default y
	help
	  runsv starts and monitors a service and optionally an appendant log
	  service.

config RUNSVDIR
	bool "runsvdir"
	default y
	help
	  runsvdir starts a runsv process for each subdirectory, or symlink to
	  a directory, in the services directory dir, up to a limit of 1000
	  subdirectories, and restarts a runsv process if it terminates.

config FEATURE_RUNSVDIR_LOG
	bool "Enable scrolling argument log"
	depends on RUNSVDIR
	default n
	help
	  Enable feature where second parameter of runsvdir holds last error
	  message (viewable via top/ps). Otherwise (feature is off
	  or no parameter), error messages go to stderr only.

config SV
	bool "sv"
	default y
	help
	  sv reports the current status and controls the state of services
	  monitored by the runsv supervisor.

config SV_DEFAULT_SERVICE_DIR
	string "Default directory for services"
	default "/var/service"
	depends on SV
	help
	  Default directory for services.
	  Defaults to "/var/service"

config SVLOGD
	bool "svlogd"
	default y
	help
	  svlogd continuously reads log data from its standard input, optionally
	  filters log messages, and writes the data to one or more automatically
	  rotated logs.

config CHPST
	bool "chpst"
	default y
	help
	  chpst changes the process state according to the given options, and
	  execs specified program.

config SETUIDGID
	bool "setuidgid"
	default y
	help
	  Sets soft resource limits as specified by options

config ENVUIDGID
	bool "envuidgid"
	default y
	help
	  Sets $UID to account's uid and $GID to account's gid

config ENVDIR
	bool "envdir"
	default y
	help
	  Sets various environment variables as specified by files
	  in the given directory

config SOFTLIMIT
	bool "softlimit"
	default y
	help
	  Sets soft resource limits as specified by options

endmenu