mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
fixup svd: add more docs
This commit is contained in:
parent
7834088728
commit
16107f5520
1 changed files with 6 additions and 0 deletions
|
|
@ -38,6 +38,10 @@ let
|
|||
autoRestart = lib.mkOption {
|
||||
description = lib.mdDoc ''
|
||||
Whether to automatically restart the process if it exits.
|
||||
|
||||
If `unexpected`, the process will be restarted if it exits
|
||||
with an exit code not listed in the programs's `exitcodes`
|
||||
configuration.
|
||||
'';
|
||||
type = types.either types.bool (types.enum [ "false" "true" "unexpected" ]);
|
||||
default = "unexpected";
|
||||
|
|
@ -154,6 +158,8 @@ in {
|
|||
programs = lib.mkOption {
|
||||
description = lib.mdDoc ''
|
||||
Definition of supervisord programs.
|
||||
|
||||
Upstream documentations are available at <http://supervisord.org/configuration.html#program-x-section-settings>.
|
||||
'';
|
||||
type = types.attrsOf programType;
|
||||
default = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue