Use /run/dnsmasq instead of /var/run/dnsmasq in Debian package.

This commit is contained in:
Simon Kelley
2015-09-29 22:54:41 +01:00
parent 27b78d990b
commit 4790115455
8 changed files with 28 additions and 27 deletions

View File

@@ -17,8 +17,8 @@ if [ "$1" = "configure" ]; then
# dnsmasq-base, but it's much easier to create it here so that
# we don't have synchronisation issues with the creation of the
# dnsmasq user.
if [ ! -d /var/run/dnsmasq ]; then
mkdir /var/run/dnsmasq
chown dnsmasq:nogroup /var/run/dnsmasq
if [ ! -d /run/dnsmasq ]; then
mkdir /run/dnsmasq
chown dnsmasq:nogroup /run/dnsmasq
fi
fi