blob: 9db97400223e5dfbf7af2a86cf4d9235156b500d [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
Denys Vlasenkod70e0e92010-06-08 12:15:11 +02008INSERT
9
Denis Vlasenko8a00f442006-11-17 18:58:16 +000010config RUNSV
11 bool "runsv"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020012 default y
Denis Vlasenko8a00f442006-11-17 18:58:16 +000013 help
14 runsv starts and monitors a service and optionally an appendant log
15 service.
16
17config RUNSVDIR
18 bool "runsvdir"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020019 default y
Denis Vlasenko8a00f442006-11-17 18:58:16 +000020 help
21 runsvdir starts a runsv process for each subdirectory, or symlink to
22 a directory, in the services directory dir, up to a limit of 1000
23 subdirectories, and restarts a runsv process if it terminates.
24
Denis Vlasenko923a79a2008-09-22 21:34:24 +000025config FEATURE_RUNSVDIR_LOG
26 bool "Enable scrolling argument log"
27 depends on RUNSVDIR
28 default n
29 help
30 Enable feature where second parameter of runsvdir holds last error
31 message (viewable via top/ps). Otherwise (feature is off
32 or no parameter), error messages go to stderr only.
33
Denis Vlasenko8a00f442006-11-17 18:58:16 +000034config SV
35 bool "sv"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020036 default y
Denis Vlasenko8a00f442006-11-17 18:58:16 +000037 help
38 sv reports the current status and controls the state of services
39 monitored by the runsv supervisor.
40
Denis Vlasenkof068b3e2008-11-06 23:07:42 +000041config SV_DEFAULT_SERVICE_DIR
42 string "Default directory for services"
43 default "/var/service"
44 depends on SV
45 help
46 Default directory for services.
47 Defaults to "/var/service"
48
Denis Vlasenko83ea6432006-11-16 02:27:24 +000049config SVLOGD
50 bool "svlogd"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020051 default y
Denis Vlasenko83ea6432006-11-16 02:27:24 +000052 help
53 svlogd continuously reads log data from its standard input, optionally
54 filters log messages, and writes the data to one or more automatically
55 rotated logs.
56
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000057config CHPST
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +000058 bool "chpst"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020059 default y
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +000060 help
61 chpst changes the process state according to the given options, and
62 execs specified program.
63
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000064config SETUIDGID
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +000065 bool "setuidgid"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020066 default y
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +000067 help
68 Sets soft resource limits as specified by options
69
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000070config ENVUIDGID
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +000071 bool "envuidgid"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020072 default y
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +000073 help
74 Sets $UID to account's uid and $GID to account's gid
75
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000076config ENVDIR
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +000077 bool "envdir"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020078 default y
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +000079 help
80 Sets various environment variables as specified by files
81 in the given directory
82
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000083config SOFTLIMIT
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +000084 bool "softlimit"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020085 default y
Denis Vlasenkof0a97fb2006-10-03 17:52:24 +000086 help
87 Sets soft resource limits as specified by options
88
89endmenu