nixos/dnscrypt-proxy: support reload

This commit is contained in:
Joachim Fasting 2017-03-13 20:04:42 +01:00
parent a26c51116d
commit 83052ef9db
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08

@ -197,6 +197,7 @@ in
serviceConfig = {
NonBlocking = "true";
ExecStart = "${pkgs.dnscrypt-proxy}/bin/dnscrypt-proxy ${toString daemonArgs}";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
User = "dnscrypt-proxy";