summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-07-09 17:58:48 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2019-07-09 17:58:48 +0200
commite62f52d28c0acb828280aca9eeb8e0e1f9e11103 (patch)
tree6c7f1df36698969728560c91a91d47d5ab890341
parentc7706d43f9a61aa584737d2af065086303bd7934 (diff)
downloadnixos-e62f52d28c0acb828280aca9eeb8e0e1f9e11103.tar
nixos-e62f52d28c0acb828280aca9eeb8e0e1f9e11103.tar.gz
nixos-e62f52d28c0acb828280aca9eeb8e0e1f9e11103.tar.bz2
nixos-e62f52d28c0acb828280aca9eeb8e0e1f9e11103.tar.xz
nixos-e62f52d28c0acb828280aca9eeb8e0e1f9e11103.zip
...
-rw-r--r--hel.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/hel.nix b/hel.nix
index bbb8c9a5..9b98f5ea 100644
--- a/hel.nix
+++ b/hel.nix
@@ -150,9 +150,10 @@
150 ${pkgs.utillinux}/bin/mount --bind -n /etc/unbound /var/lib/unbound/etc/unbound 150 ${pkgs.utillinux}/bin/mount --bind -n /etc/unbound /var/lib/unbound/etc/unbound
151 fi 151 fi
152 ''; 152 '';
153 postStop = '' 153 ExecStopPost = lib.mkForce (pkgs.writeScript "unbound-exec-stop-post" ''
154 ${pkgs.utillinux}/bin/umount /var/lib/unbound/etc/unbound 154 ${pkgs.utillinux}/bin/umount /var/lib/unbound/dev/random
155 ''; 155 ${pkgs.utillinux}/bin/umount /var/lib/unbound/etc/unbound
156 '');
156 }; 157 };
157 158
158 services = { 159 services = {