mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Merge pull request #64806 from peterhoeg/f/exec
nixos/systemd: 242 supports Type = exec
This commit is contained in:
commit
db858b4d30
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ with import ./systemd-lib.nix { inherit config lib pkgs; };
|
||||||
let
|
let
|
||||||
checkService = checkUnitConfig "Service" [
|
checkService = checkUnitConfig "Service" [
|
||||||
(assertValueOneOf "Type" [
|
(assertValueOneOf "Type" [
|
||||||
"simple" "forking" "oneshot" "dbus" "notify" "idle"
|
"exec" "simple" "forking" "oneshot" "dbus" "notify" "idle"
|
||||||
])
|
])
|
||||||
(assertValueOneOf "Restart" [
|
(assertValueOneOf "Restart" [
|
||||||
"no" "on-success" "on-failure" "on-abnormal" "on-abort" "always"
|
"no" "on-success" "on-failure" "on-abnormal" "on-abort" "always"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue