Merge pull request #16967 from davidak/caddy-fix

caddy service: fix nix store output path
This commit is contained in:
Frederik Rietdijk 2016-07-15 12:26:18 +02:00 committed by GitHub
commit cfb4a19f51

View File

@ -33,7 +33,7 @@ in
after = [ "network.target" ]; after = [ "network.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
serviceConfig = { serviceConfig = {
ExecStart = "${pkgs.caddy}/bin/caddy -conf=${configFile} -email=${cfg.email}"; ExecStart = "${pkgs.caddy.bin}/bin/caddy -conf=${configFile} -email=${cfg.email}";
Type = "simple"; Type = "simple";
User = "caddy"; User = "caddy";
Group = "caddy"; Group = "caddy";