mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
nixos/systemd: document what scriptArgs
is for
This commit is contained in:
parent
b467047119
commit
84d8b9a809
1 changed files with 5 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue