diff options
| -rw-r--r-- | hel.nix | 7 |
1 files changed, 4 insertions, 3 deletions
| @@ -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 = { |
