mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 09:36:20 +09:00
nixos/lib: fix typo in documentation for systemd
This commit fixes a small typo in the documentation for the `asDropinIfExists` option and clarifies the comment. Signed-off-by: squat <lserven@gmail.com>
This commit is contained in:
parent
d6abbec93e
commit
8f6b1ac340
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ rec {
|
|||
Defines how unit configuration is provided for systemd:
|
||||
|
||||
`asDropinIfExists` creates a unit file when no unit file is provided by the package
|
||||
otherwise a drop-in file name `overrides.conf`.
|
||||
otherwise it creates a drop-in file named `overrides.conf`.
|
||||
|
||||
`asDropin` creates a drop-in file named `overrides.conf`.
|
||||
Mainly needed to define instances for systemd template units (e.g. `systemd-nspawn@mycontainer.service`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue