mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Debian: Write pid-file in the correct place when using systemd.
This commit is contained in:
1
debian/init
vendored
1
debian/init
vendored
@@ -279,6 +279,7 @@ case "$1" in
|
|||||||
systemd-exec)
|
systemd-exec)
|
||||||
# Enable DBus by default because we use DBus activation with systemd.
|
# Enable DBus by default because we use DBus activation with systemd.
|
||||||
exec $DAEMON --keep-in-foreground --enable-dbus \
|
exec $DAEMON --keep-in-foreground --enable-dbus \
|
||||||
|
-x /var/run/dnsmasq/$NAME.pid \
|
||||||
${MAILHOSTNAME:+ -m $MAILHOSTNAME} \
|
${MAILHOSTNAME:+ -m $MAILHOSTNAME} \
|
||||||
${MAILTARGET:+ -t $MAILTARGET} \
|
${MAILTARGET:+ -t $MAILTARGET} \
|
||||||
${DNSMASQ_USER:+ -u $DNSMASQ_USER} \
|
${DNSMASQ_USER:+ -u $DNSMASQ_USER} \
|
||||||
|
|||||||
Reference in New Issue
Block a user