nixos/systemd: document what scriptArgs is for
This commit is contained in:
@@ -324,7 +324,11 @@ in rec {
|
|||||||
scriptArgs = mkOption {
|
scriptArgs = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "";
|
default = "";
|
||||||
description = lib.mdDoc "Arguments passed to the main process script.";
|
example = "%i";
|
||||||
|
description = lib.mdDoc ''
|
||||||
|
Arguments passed to the main process script.
|
||||||
|
Can contain specifiers (`%` placeholders expanded by systemd, see {manpage}`systemd.unit(5)`).
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
preStart = mkOption {
|
preStart = mkOption {
|
||||||
|
|||||||
Reference in New Issue
Block a user