From 16107f5520c6e8a7ab5efc92205f44839f9d4785 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Wed, 21 Sep 2022 18:28:28 +0000 Subject: [PATCH] fixup svd: add more docs --- modules/supervisord.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/supervisord.nix b/modules/supervisord.nix index 3ddfbb7..abacf3d 100644 --- a/modules/supervisord.nix +++ b/modules/supervisord.nix @@ -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 . ''; type = types.attrsOf programType; default = {};