diff options
Diffstat (limited to 'hel.nix')
-rw-r--r-- | hel.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -145,8 +145,8 @@ | |||
145 | 145 | ||
146 | systemd.services."unbound" = { | 146 | systemd.services."unbound" = { |
147 | preStart = '' | 147 | preStart = '' |
148 | if [[ -d /etc/unbound ]]; then | 148 | if test -d /etc/unbound; then |
149 | ${pkgs.coreutils}/bin/mkdir -p /var/lib/unbound/etc/unbound | 149 | mkdir -p /var/lib/unbound/etc/unbound |
150 | ${pkgs.utillinux}/bin/mount -o bind,ro -n /etc/unbound /var/lib/unbound/etc/unbound | 150 | ${pkgs.utillinux}/bin/mount -o bind,ro -n /etc/unbound /var/lib/unbound/etc/unbound |
151 | fi | 151 | fi |
152 | ''; | 152 | ''; |