| 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 |
|
|---|
| 8 | INSERT
|
|---|
| 9 |
|
|---|
| 10 | config RUNSV
|
|---|
| 11 | bool "runsv"
|
|---|
| 12 | default y
|
|---|
| 13 | help
|
|---|
| 14 | runsv starts and monitors a service and optionally an appendant log
|
|---|
| 15 | service.
|
|---|
| 16 |
|
|---|
| 17 | config RUNSVDIR
|
|---|
| 18 | bool "runsvdir"
|
|---|
| 19 | default y
|
|---|
| 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 |
|
|---|
| 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 |
|
|---|
| 34 | config SV
|
|---|
| 35 | bool "sv"
|
|---|
| 36 | default y
|
|---|
| 37 | help
|
|---|
| 38 | sv reports the current status and controls the state of services
|
|---|
| 39 | monitored by the runsv supervisor.
|
|---|
| 40 |
|
|---|
| 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 |
|
|---|
| 49 | config SVLOGD
|
|---|
| 50 | bool "svlogd"
|
|---|
| 51 | default y
|
|---|
| 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 |
|
|---|
| 57 | config CHPST
|
|---|
| 58 | bool "chpst"
|
|---|
| 59 | default y
|
|---|
| 60 | help
|
|---|
| 61 | chpst changes the process state according to the given options, and
|
|---|
| 62 | execs specified program.
|
|---|
| 63 |
|
|---|
| 64 | config SETUIDGID
|
|---|
| 65 | bool "setuidgid"
|
|---|
| 66 | default y
|
|---|
| 67 | help
|
|---|
| 68 | Sets soft resource limits as specified by options
|
|---|
| 69 |
|
|---|
| 70 | config ENVUIDGID
|
|---|
| 71 | bool "envuidgid"
|
|---|
| 72 | default y
|
|---|
| 73 | help
|
|---|
| 74 | Sets $UID to account's uid and $GID to account's gid
|
|---|
| 75 |
|
|---|
| 76 | config ENVDIR
|
|---|
| 77 | bool "envdir"
|
|---|
| 78 | default y
|
|---|
| 79 | help
|
|---|
| 80 | Sets various environment variables as specified by files
|
|---|
| 81 | in the given directory
|
|---|
| 82 |
|
|---|
| 83 | config SOFTLIMIT
|
|---|
| 84 | bool "softlimit"
|
|---|
| 85 | default y
|
|---|
| 86 | help
|
|---|
| 87 | Sets soft resource limits as specified by options
|
|---|
| 88 |
|
|---|
| 89 | endmenu
|
|---|