diff options
author | Benedikt Tissot <benedikt.tissot@googlemail.com> | 2023-12-31 16:49:28 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2024-01-05 16:36:45 +0100 |
commit | c1d8fd1a899280f7a92914b4ebdeb538842e98e0 (patch) | |
tree | 44c1d80db8fa9b32bc82dc80498807899133e73b /nixos | |
parent | 9c99e5f8d74675b66f017055ea0959681e5e96aa (diff) |
nixos/ddclient: make ExecStartPre a list
this enables to exetend ExecStartPre while keeping the default inplace.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/ddclient.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/ddclient.nix b/nixos/modules/services/networking/ddclient.nix index a67f0c5de9ba3..18f205b8d99ef 100644 --- a/nixos/modules/services/networking/ddclient.nix +++ b/nixos/modules/services/networking/ddclient.nix @@ -217,7 +217,7 @@ with lib; inherit RuntimeDirectory; inherit StateDirectory; Type = "oneshot"; - ExecStartPre = "!${pkgs.writeShellScript "ddclient-prestart" preStart}"; + ExecStartPre = [ "!${pkgs.writeShellScript "ddclient-prestart" preStart}" ]; ExecStart = "${lib.getExe cfg.package} -file /run/${RuntimeDirectory}/ddclient.conf"; }; }; |