diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2019-07-09 17:57:16 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2019-07-09 17:57:16 +0200 |
commit | c7706d43f9a61aa584737d2af065086303bd7934 (patch) | |
tree | bff43b7f26af90df3704f5c2438c1396acbc7f42 | |
parent | 2d1266fb05817c433d6ae9d145ed693deffa2572 (diff) | |
download | nixos-c7706d43f9a61aa584737d2af065086303bd7934.tar nixos-c7706d43f9a61aa584737d2af065086303bd7934.tar.gz nixos-c7706d43f9a61aa584737d2af065086303bd7934.tar.bz2 nixos-c7706d43f9a61aa584737d2af065086303bd7934.tar.xz nixos-c7706d43f9a61aa584737d2af065086303bd7934.zip |
...
-rw-r--r-- | hel.nix | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 | ||