mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 15:40:22 +01:00
dispatcher: tell systemd to not kill dispatcher children
You're supposed to be able to use dispatcher scripts to spawn long-running processes, but currently systemd will kill them when nm-dispatcher exits. Fix that. https://bugzilla.gnome.org/show_bug.cgi?id=725492
This commit is contained in:
parent
731ca771f8
commit
d53357f420
1 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,10 @@ Type=dbus
|
|||
BusName=org.freedesktop.nm_dispatcher
|
||||
ExecStart=@libexecdir@/nm-dispatcher.action
|
||||
|
||||
# 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue