Debian: Write pid-file in the correct place when using systemd.

This commit is contained in:
Simon Kelley
2014-05-20 20:56:55 +01:00
parent 8e9ffba66e
commit a754e1d7b2

1
debian/init vendored
View File

@@ -279,6 +279,7 @@ case "$1" in
systemd-exec)
# Enable DBus by default because we use DBus activation with systemd.
exec $DAEMON --keep-in-foreground --enable-dbus \
-x /var/run/dnsmasq/$NAME.pid \
${MAILHOSTNAME:+ -m $MAILHOSTNAME} \
${MAILTARGET:+ -t $MAILTARGET} \
${DNSMASQ_USER:+ -u $DNSMASQ_USER} \