From 0ff739ab5a2c9c927edc8e14e125b047af0339b5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 9 Jul 2019 18:04:13 +0200 Subject: ... --- hel.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hel.nix b/hel.nix index 867442c2..6ae2d96a 100644 --- a/hel.nix +++ b/hel.nix @@ -147,11 +147,11 @@ preStart = '' if [[ -d /etc/unbound ]]; then ${pkgs.coreutils}/bin/mkdir -p /var/lib/unbound/etc/unbound - ${pkgs.utillinux}/bin/mount --bind -n /etc/unbound /var/lib/unbound/etc/unbound + ${pkgs.utillinux}/bin/mount -o bind,ro -n /etc/unbound /var/lib/unbound/etc/unbound fi ''; serviceConfig.ExecStopPost = lib.mkForce (pkgs.writeScript "unit-script-unbound-post-stop" '' - #!${pkgs.stdenv}/bin/bash + #!${pkgs.bash}/bin/bash ${pkgs.utillinux}/bin/umount /var/lib/unbound/dev/random ${pkgs.utillinux}/bin/umount /var/lib/unbound/etc/unbound -- cgit v1.2.3