3
0
Fork 0
forked from mirrors/nixpkgs

caddy: remove 'bin' attribute

This commit is contained in:
Timothy DeHerrera 2019-08-18 18:46:21 -06:00
parent a2bd8da766
commit 98e6c1432e
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122

View file

@ -70,7 +70,7 @@ in {
{ CADDYPATH = cfg.dataDir; };
serviceConfig = {
ExecStart = ''
${cfg.package.bin}/bin/caddy -root=/var/tmp -conf=${configFile} \
${cfg.package}/bin/caddy -root=/var/tmp -conf=${configFile} \
-ca=${cfg.ca} -email=${cfg.email} ${optionalString cfg.agree "-agree"}
'';
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";