From a754e1d7b240c63b0ce346c5eae3a599122bbfbc Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Tue, 20 May 2014 20:56:55 +0100 Subject: Debian: Write pid-file in the correct place when using systemd. --- debian/init | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/init b/debian/init index 0a6b176..8eb5535 100644 --- a/debian/init +++ b/debian/init @@ -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} \ -- cgit v1.2.1