summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2013-08-06 15:58:55 -0500
committerDan Williams <dcbw@redhat.com>2013-08-06 15:58:55 -0500
commit75c64763f6b943ab93ebe68a38236c764051f3db (patch)
tree8af055fc74f5a8d3813f535b6f9cfaeeeb24a189 /data
parent8919d7ab49653962322df8c728012365132de56f (diff)
downloadNetworkManager-75c64763f6b943ab93ebe68a38236c764051f3db.tar.gz
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."
Diffstat (limited to 'data')
-rw-r--r--data/NetworkManager-dispatcher.service.in1
-rw-r--r--data/NetworkManager.service.in1
2 files changed, 1 insertions, 1 deletions
diff --git a/data/NetworkManager-dispatcher.service.in b/data/NetworkManager-dispatcher.service.in
index b406c5c6a2..442f67aaf8 100644
--- a/data/NetworkManager-dispatcher.service.in
+++ b/data/NetworkManager-dispatcher.service.in
@@ -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
diff --git a/data/NetworkManager.service.in b/data/NetworkManager.service.in
index 012f87261b..8ceefad48b 100644
--- a/data/NetworkManager.service.in
+++ b/data/NetworkManager.service.in
@@ -13,4 +13,5 @@ KillMode=process
[Install]
WantedBy=multi-user.target
Alias=dbus-org.freedesktop.NetworkManager.service
+Also=NetworkManager-dispatcher.service