aboutsummaryrefslogtreecommitdiff
path: root/runit/Config.src
diff options
context:
space:
mode:
Diffstat (limited to 'runit/Config.src')
-rw-r--r--runit/Config.src87
1 files changed, 87 insertions, 0 deletions
diff --git a/runit/Config.src b/runit/Config.src
new file mode 100644
index 000000000..53b445101
--- /dev/null
+++ b/runit/Config.src
@@ -0,0 +1,87 @@
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Runit Utilities"
7
8config RUNSV
9 bool "runsv"
10 default y
11 help
12 runsv starts and monitors a service and optionally an appendant log
13 service.
14
15config RUNSVDIR
16 bool "runsvdir"
17 default y
18 help
19 runsvdir starts a runsv process for each subdirectory, or symlink to
20 a directory, in the services directory dir, up to a limit of 1000
21 subdirectories, and restarts a runsv process if it terminates.
22
23config FEATURE_RUNSVDIR_LOG
24 bool "Enable scrolling argument log"
25 depends on RUNSVDIR
26 default n
27 help
28 Enable feature where second parameter of runsvdir holds last error
29 message (viewable via top/ps). Otherwise (feature is off
30 or no parameter), error messages go to stderr only.
31
32config SV
33 bool "sv"
34 default y
35 help
36 sv reports the current status and controls the state of services
37 monitored by the runsv supervisor.
38
39config SV_DEFAULT_SERVICE_DIR
40 string "Default directory for services"
41 default "/var/service"
42 depends on SV
43 help
44 Default directory for services.
45 Defaults to "/var/service"
46
47config SVLOGD
48 bool "svlogd"
49 default y
50 help
51 svlogd continuously reads log data from its standard input, optionally
52 filters log messages, and writes the data to one or more automatically
53 rotated logs.
54
55config CHPST
56 bool "chpst"
57 default y
58 help
59 chpst changes the process state according to the given options, and
60 execs specified program.
61
62config SETUIDGID
63 bool "setuidgid"
64 default y
65 help
66 Sets soft resource limits as specified by options
67
68config ENVUIDGID
69 bool "envuidgid"
70 default y
71 help
72 Sets $UID to account's uid and $GID to account's gid
73
74config ENVDIR
75 bool "envdir"
76 default y
77 help
78 Sets various environment variables as specified by files
79 in the given directory
80
81config SOFTLIMIT
82 bool "softlimit"
83 default y
84 help
85 Sets soft resource limits as specified by options
86
87endmenu