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 | |
Denis Vlasenko | 8a00f44 | 2006-11-17 18:58:16 +0000 | [diff] [blame] | 8 | config RUNSV |
| 9 | bool "runsv" |
| 10 | default n |
| 11 | help |
| 12 | runsv starts and monitors a service and optionally an appendant log |
| 13 | service. |
| 14 | |
| 15 | config 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 Vlasenko | 923a79a | 2008-09-22 21:34:24 +0000 | [diff] [blame] | 23 | config 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 Vlasenko | 8a00f44 | 2006-11-17 18:58:16 +0000 | [diff] [blame] | 32 | config 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 Vlasenko | f068b3e | 2008-11-06 23:07:42 +0000 | [diff] [blame] | 39 | config 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 Vlasenko | 83ea643 | 2006-11-16 02:27:24 +0000 | [diff] [blame] | 47 | config 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 Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 55 | config CHPST |
Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 56 | 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 Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 62 | config SETUIDGID |
Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 63 | bool "setuidgid" |
| 64 | help |
| 65 | Sets soft resource limits as specified by options |
| 66 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 67 | config ENVUIDGID |
Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 68 | bool "envuidgid" |
| 69 | help |
| 70 | Sets $UID to account's uid and $GID to account's gid |
| 71 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 72 | config ENVDIR |
Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 73 | bool "envdir" |
| 74 | help |
| 75 | Sets various environment variables as specified by files |
| 76 | in the given directory |
| 77 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 78 | config SOFTLIMIT |
Denis Vlasenko | f0a97fb | 2006-10-03 17:52:24 +0000 | [diff] [blame] | 79 | bool "softlimit" |
| 80 | help |
| 81 | Sets soft resource limits as specified by options |
| 82 | |
| 83 | endmenu |