summaryrefslogtreecommitdiff
path: root/hel.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-07-09 17:57:16 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2019-07-09 17:57:16 +0200
commitc7706d43f9a61aa584737d2af065086303bd7934 (patch)
treebff43b7f26af90df3704f5c2438c1396acbc7f42 /hel.nix
parent2d1266fb05817c433d6ae9d145ed693deffa2572 (diff)
downloadnixos-c7706d43f9a61aa584737d2af065086303bd7934.tar
nixos-c7706d43f9a61aa584737d2af065086303bd7934.tar.gz
nixos-c7706d43f9a61aa584737d2af065086303bd7934.tar.bz2
nixos-c7706d43f9a61aa584737d2af065086303bd7934.tar.xz
nixos-c7706d43f9a61aa584737d2af065086303bd7934.zip
...
Diffstat (limited to 'hel.nix')
-rw-r--r--hel.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/hel.nix b/hel.nix
index 82ec5109..bbb8c9a5 100644
--- a/hel.nix
+++ b/hel.nix
@@ -146,12 +146,12 @@
146 systemd.services."unbound" = { 146 systemd.services."unbound" = {
147 preStart = '' 147 preStart = ''
148 if [[ -d /etc/unbound ]]; then 148 if [[ -d /etc/unbound ]]; then
149 ${pkgs.util-linux}/bin/mkdir -p /var/lib/unbound/etc/unbound 149 ${pkgs.utillinux}/bin/mkdir -p /var/lib/unbound/etc/unbound
150 ${pkgs.util-linux}/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 postStop = ''
154 ${pkgs.util-linux}/bin/umount /var/lib/unbound/etc/unbound 154 ${pkgs.utillinux}/bin/umount /var/lib/unbound/etc/unbound
155 ''; 155 '';
156 }; 156 };
157 157