Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see scripts/kbuild/config-language.txt. |
| 4 | # |
| 5 | |
| 6 | menu "Runit Utilities" |
| 7 | |
Denys Vlasenko | d70e0e9 | 2010-06-08 12:15:11 +0200 | [diff] [blame] | 8 | INSERT |
| 9 | |
Denis Vlasenko | 8a00f44 | 2006-11-17 18:58:16 +0000 | [diff] [blame] | 10 | config RUNSV |
| 11 | bool "runsv" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 12 | default y |
Denis Vlasenko | 8a00f44 | 2006-11-17 18:58:16 +0000 | [diff] [blame] | 13 | help |
| 14 | runsv starts and monitors a service and optionally an appendant log |
| 15 | service. |
| 16 | |
| 17 | config RUNSVDIR |
| 18 | bool "runsvdir" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 19 | default y |
Denis Vlasenko | 8a00f44 | 2006-11-17 18:58:16 +0000 | [diff] [blame] | 20 | 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 Vlasenko | 923a79a | 2008-09-22 21:34:24 +0000 | [diff] [blame] | 25 | config 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 Vlasenko | 8a00f44 | 2006-11-17 18:58:16 +0000 | [diff] [blame] | 34 | config SV |
| 35 | bool "sv" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 36 | default y |
Denis Vlasenko | 8a00f44 | 2006-11-17 18:58:16 +0000 | [diff] [blame] | 37 | help |
| 38 | sv reports the current status and controls the state of services |
| 39 | monitored by the runsv supervisor. |
| 40 | |
Denis Vlasenko | f068b3e | 2008-11-06 23:07:42 +0000 | [diff] [blame] | 41 | config 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 Vlasenko | 83ea643 | 2006-11-16 02:27:24 +0000 | [diff] [blame] | 49 | config SVLOGD |
| 50 | bool "svlogd" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 51 | default y |
Denis Vlasenko | 83ea643 | 2006-11-16 02:27:24 +0000 | [diff] [blame] | 52 | 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 Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 57 | config CHPST |
Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 58 | bool "chpst" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 59 | default y |
Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 60 | help |
| 61 | chpst changes the process state according to the given options, and |
| 62 | execs specified program. |
| 63 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 64 | config SETUIDGID |
Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 65 | bool "setuidgid" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 66 | default y |
Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 67 | help |
| 68 | Sets soft resource limits as specified by options |
| 69 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 70 | config ENVUIDGID |
Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 71 | bool "envuidgid" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 72 | default y |
Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 73 | help |
| 74 | Sets $UID to account's uid and $GID to account's gid |
| 75 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 76 | config ENVDIR |
Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 77 | bool "envdir" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 78 | default y |
Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 79 | help |
| 80 | Sets various environment variables as specified by files |
| 81 | in the given directory |
| 82 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 83 | config SOFTLIMIT |
Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 84 | bool "softlimit" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 85 | default y |
Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 86 | help |
| 87 | Sets soft resource limits as specified by options |
| 88 | |
| 89 | endmenu |