mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-19 11:18:28 +02:00
systemd: fix up dispatcher unit install (rh #948433)
Lennart sez: "Oh, I wasn't aware it is short-lived only. In that case, drop the multi-user.target bit, and just make it create the dbus alias. [Install] Alias=dbus-org.freedesktop.nm-dispatcher.service And yeah, adding Also=NetworkManager-dispatcher.service to NetworkManager.service certainly would be a good idea."
This commit is contained in:
parent
8919d7ab49
commit
75c64763f6
2 changed files with 1 additions and 1 deletions
|
|
@ -7,6 +7,5 @@ BusName=org.freedesktop.nm_dispatcher
|
|||
ExecStart=@libexecdir@/nm-dispatcher.action
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Alias=dbus-org.freedesktop.nm-dispatcher.service
|
||||
|
||||
|
|
|
|||
|
|
@ -13,4 +13,5 @@ KillMode=process
|
|||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Alias=dbus-org.freedesktop.NetworkManager.service
|
||||
Also=NetworkManager-dispatcher.service
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue