diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2019-07-09 18:07:30 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2019-07-09 18:07:30 +0200 |
| commit | 9da246abeeaae92b5cecd0526eeb40a1cccb3260 (patch) | |
| tree | f2886124d403c39b8d19e9f2c88df2df9f695cac | |
| parent | 0ff739ab5a2c9c927edc8e14e125b047af0339b5 (diff) | |
| download | nixos-9da246abeeaae92b5cecd0526eeb40a1cccb3260.tar nixos-9da246abeeaae92b5cecd0526eeb40a1cccb3260.tar.gz nixos-9da246abeeaae92b5cecd0526eeb40a1cccb3260.tar.bz2 nixos-9da246abeeaae92b5cecd0526eeb40a1cccb3260.tar.xz nixos-9da246abeeaae92b5cecd0526eeb40a1cccb3260.zip | |
...
| -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 | ''; |
