Debian packaging fix. (restorecon)

This commit is contained in:
Simon Kelley
2018-09-17 23:20:00 +01:00
parent 118011fe2b
commit e3c08a34a7
2 changed files with 3 additions and 1 deletions

3
debian/init vendored
View File

@@ -127,7 +127,8 @@ start()
mkdir /run/dnsmasq || return 2
chown dnsmasq:nogroup /run/dnsmasq || return 2
fi
[ -x /sbin/restorecon ] && /sbin/restorecon /run/dnsmasq
start-stop-daemon --start --quiet --pidfile /run/dnsmasq/$NAME.pid --exec $DAEMON --test > /dev/null || return 1
start-stop-daemon --start --quiet --pidfile /run/dnsmasq/$NAME.pid --exec $DAEMON -- \
-x /run/dnsmasq/$NAME.pid \