]> git.ipfire.org Git - people/ms/dnsmasq.git/commitdiff
Debian: Write pid-file in the correct place when using systemd.
authorSimon Kelley <simon@thekelleys.org.uk>
Tue, 20 May 2014 19:56:55 +0000 (20:56 +0100)
committerSimon Kelley <simon@thekelleys.org.uk>
Tue, 20 May 2014 19:56:55 +0000 (20:56 +0100)
debian/init

index 0a6b17601456d885d1d0c702d2e349afd992958f..8eb55355a10dcad155ca966ddd39b082decfe2c0 100644 (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} \