From 12603661f9c891e6aa82329750b9cbc63d007506 Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Mon, 18 May 2015 23:55:45 +0200 Subject: [PATCH] -f is needed for systemd --- chroot-bind.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chroot-bind.sh b/chroot-bind.sh index 312bcf3..381815e 100644 --- a/chroot-bind.sh +++ b/chroot-bind.sh @@ -9,10 +9,10 @@ # When the script is finished, ensure you have # 'OPTIONS="-u bind -t /var/chroot-bind"' in /etc/default/bind9 -# for Jessie, cp -a /lib/systemd/system/bind9.service /etc/systemd/system/ +# for Jessie/systemd, cp -a /lib/systemd/system/bind9.service /etc/systemd/system/ # and modify section [Service] to have : # EnvironmentFile=-/etc/default/bind9 -# ExecStart=/usr/sbin/named $OPTIONS +# ExecStart=/usr/sbin/named -f $OPTIONS # and /etc/init.d/bind9 (re)start # ...and re-exec the script to have a named.pid link # outside the chroot and the right result