Commit c1d8fd1a authored by Benedikt Tissot's avatar Benedikt Tissot Committed by Bjørn Forsman
Browse files

nixos/ddclient: make ExecStartPre a list

this enables to exetend ExecStartPre while keeping the default inplace.
parent 9c99e5f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";
      };
    };