Skip to content

Commit

Permalink
Merge pull request #68094 from peterhoeg/f/darkhttp
Browse files Browse the repository at this point in the history
nixos/darkhttpd: fix package reference
  • Loading branch information
peterhoeg committed Sep 4, 2019
2 parents 54e694d + 33bf2ac commit 5eef8c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/web-servers/darkhttpd.nix
Expand Up @@ -67,7 +67,7 @@ in {
wantedBy = [ "multi-user.target" ];
serviceConfig = {
DynamicUser = true;
ExecStart = "${cfg.package}/bin/darkhttpd ${args}";
ExecStart = "${pkgs.darkhttpd}/bin/darkhttpd ${args}";
AmbientCapabilities = lib.mkIf (cfg.port < 1024) [ "CAP_NET_BIND_SERVICE" ];
Restart = "on-failure";
RestartSec = "2s";
Expand Down

0 comments on commit 5eef8c2

Please sign in to comment.