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

2
debian/postinst vendored
View File

@@ -21,7 +21,7 @@ if [ -x /etc/init.d/dnsmasq ]; then
update-rc.d dnsmasq defaults 15 85 >/dev/null
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
if [ -e /var/run/dnsmasq/dnsmasq.pid ]; then
if [ -e /run/dnsmasq/dnsmasq.pid ]; then
ACTION=restart
else
ACTION=start