summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/networking/dnscrypt-proxy.nix
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2017-03-13 20:04:42 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2017-03-15 01:12:29 +0100
commit83052ef9db71b5f70e65b25e255d61da3eaaa0ac (patch)
tree6fd368645cbaa20968fe35f8490d2112edd40090 /nixos/modules/services/networking/dnscrypt-proxy.nix
parenta26c51116d681a2828ad836386b7698dc3876689 (diff)
nixos/dnscrypt-proxy: support reload
Diffstat (limited to 'nixos/modules/services/networking/dnscrypt-proxy.nix')
-rw-r--r--nixos/modules/services/networking/dnscrypt-proxy.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/dnscrypt-proxy.nix b/nixos/modules/services/networking/dnscrypt-proxy.nix
index beddaa076122..66fa5e6dd3c5 100644
--- a/nixos/modules/services/networking/dnscrypt-proxy.nix
+++ b/nixos/modules/services/networking/dnscrypt-proxy.nix
@@ -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";