1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

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 {