moved creation of /var/run/named directory to the init script

pull/2/head
Sameer Naik 2014-06-29 12:14:43 +05:30
parent 0bf22aacd3
commit add39bb0ac
2 changed files with 3 additions and 4 deletions

View File

@ -38,4 +38,7 @@ rm -rf /etc/webmin
ln -sf /app/data/webmin/etc /etc/webmin
/etc/init.d/webmin start
mkdir -m 0775 -p /var/run/named
chown root:bind /var/run/named
/usr/sbin/named -u bind -g

View File

@ -1,6 +1,2 @@
#!/bin/bash
set -e
mkdir -p /var/run/named
chmod 775 /var/run/named
chown root:bind /var/run/named >/dev/null 2>&1 || true