blob: 422ca7517da34e735e0bfc5a94a44b9bfec0b82c [file] [log] [blame]
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Runit Utilities"
7
Denis Vlasenko8a00f442006-11-17 18:58:16 +00008config RUNSV
9 bool "runsv"
10 default n
11 help
12 runsv starts and monitors a service and optionally an appendant log
13 service.
14
15config RUNSVDIR
16 bool "runsvdir"
17 default n
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
Denis Vlasenko923a79a2008-09-22 21:34:24 +000023config 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
Denis Vlasenko8a00f442006-11-17 18:58:16 +000032config SV
33 bool "sv"
34 default n
35 help
36 sv reports the current status and controls the state of services
37 monitored by the runsv supervisor.
38
Denis Vlasenkof068b3e2008-11-06 23:07:42 +000039config 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
Denis Vlasenko83ea6432006-11-16 02:27:24 +000047config SVLOGD
48 bool "svlogd"
49 default n
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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000055config CHPST
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +000056 bool "chpst"
57 default n
58 help
59 chpst changes the process state according to the given options, and
60 execs specified program.
61
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000062config SETUIDGID
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +000063 bool "setuidgid"
64 help
65 Sets soft resource limits as specified by options
66
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000067config ENVUIDGID
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +000068 bool "envuidgid"
69 help
70 Sets $UID to account's uid and $GID to account's gid
71
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000072config ENVDIR
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +000073 bool "envdir"
74 help
75 Sets various environment variables as specified by files
76 in the given directory
77
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000078config SOFTLIMIT
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +000079 bool "softlimit"
80 help
81 Sets soft resource limits as specified by options
82
83endmenu