nixos/ddclient: make ExecStartPre a list

this enables to exetend ExecStartPre while keeping the default inplace.
This commit is contained in:
Benedikt Tissot 2023-12-31 16:49:28 +01:00 committed by Bjørn Forsman
parent 9c99e5f8d7
commit c1d8fd1a89

View file

@ -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";
};
};