diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2014-05-20 20:56:55 +0100 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2014-05-20 20:56:55 +0100 |
commit | a754e1d7b240c63b0ce346c5eae3a599122bbfbc (patch) | |
tree | b0c820f5cffbc70ffd21ec181fbc3e321cc6b2b4 | |
parent | 8e9ffba66e538f3f483ab0d46e5f9fd21d5abf32 (diff) | |
download | dnsmasq-a754e1d7b240c63b0ce346c5eae3a599122bbfbc.tar.gz |
Debian: Write pid-file in the correct place when using systemd.
-rw-r--r-- | debian/init | 1 |
1 files changed, 1 insertions, 0 deletions
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} \ |