commit | a754e1d7b240c63b0ce346c5eae3a599122bbfbc | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Tue May 20 20:56:55 2014 +0100 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Tue May 20 20:56:55 2014 +0100 |
tree | b0c820f5cffbc70ffd21ec181fbc3e321cc6b2b4 | |
parent | 8e9ffba66e538f3f483ab0d46e5f9fd21d5abf32 [diff] |
Debian: Write pid-file in the correct place when using systemd.
diff --git a/debian/init b/debian/init index 0a6b176..8eb5535 100644 --- a/debian/init +++ b/debian/init
@@ -279,6 +279,7 @@ 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} \