summaryrefslogtreecommitdiff
path: root/data/NetworkManager-dispatcher.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'data/NetworkManager-dispatcher.service.in')
-rw-r--r--data/NetworkManager-dispatcher.service.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/data/NetworkManager-dispatcher.service.in b/data/NetworkManager-dispatcher.service.in
index 442f67aaf..c450478ba 100644
--- a/data/NetworkManager-dispatcher.service.in
+++ b/data/NetworkManager-dispatcher.service.in
@@ -4,7 +4,11 @@ Description=Network Manager Script Dispatcher Service
[Service]
Type=dbus
BusName=org.freedesktop.nm_dispatcher
-ExecStart=@libexecdir@/nm-dispatcher.action
+ExecStart=@libexecdir@/nm-dispatcher
+
+# We want to allow scripts to spawn long-running daemons, so tell
+# systemd to not clean up when nm-dispatcher exits
+KillMode=process
[Install]
Alias=dbus-org.freedesktop.nm-dispatcher.service