nixos/systemd: document what scriptArgs is for

This commit is contained in:
Naïm Favier 2022-12-22 15:17:05 +01:00
parent b467047119
commit 84d8b9a809
No known key found for this signature in database
GPG Key ID: 95AFCE8211908325

View File

@ -324,7 +324,11 @@ in rec {
scriptArgs = mkOption {
type = types.str;
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 {