mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-12-16 14:01:10 +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 {
|
autoRestart = lib.mkOption {
|
||||||
description = lib.mdDoc ''
|
description = lib.mdDoc ''
|
||||||
Whether to automatically restart the process if it exits.
|
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" ]);
|
type = types.either types.bool (types.enum [ "false" "true" "unexpected" ]);
|
||||||
default = "unexpected";
|
default = "unexpected";
|
||||||
|
|
@ -154,6 +158,8 @@ in {
|
||||||
programs = lib.mkOption {
|
programs = lib.mkOption {
|
||||||
description = lib.mdDoc ''
|
description = lib.mdDoc ''
|
||||||
Definition of supervisord programs.
|
Definition of supervisord programs.
|
||||||
|
|
||||||
|
Upstream documentations are available at <http://supervisord.org/configuration.html#program-x-section-settings>.
|
||||||
'';
|
'';
|
||||||
type = types.attrsOf programType;
|
type = types.attrsOf programType;
|
||||||
default = {};
|
default = {};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue