aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/systemd
diff options
context:
space:
mode:
authorMarcin Niestroj <m.niestroj@grinn-global.com>2016-04-11 12:55:35 (GMT)
committerJouni Malinen <j@w1.fi>2016-04-18 21:55:17 (GMT)
commit9e5a5de55a893a083a945a9ba17e8ed01712f60f (patch)
tree0f1d276484118473980fe6137003720942ae6285 /wpa_supplicant/systemd
parentac7aea862ff3bec29abefd04fcc9b94fbb605503 (diff)
downloadhostap-9e5a5de55a893a083a945a9ba17e8ed01712f60f.zip
hostap-9e5a5de55a893a083a945a9ba17e8ed01712f60f.tar.gz
hostap-9e5a5de55a893a083a945a9ba17e8ed01712f60f.tar.bz2
systemd: Update service files according to D-Bus interface version
systemd service files were supplied with old D-Bus bus name. After service activation systemd was waiting for appearance of specified bus name to consider it started successfully. However, if wpa_supplicant was compiled only with the new D-Bus interface name, systemd didn't notice configured (old) D-Bus bus name appearance. In the end, service was considered malfunctioning and it was deactivated. Update systemd service BusName property according to supported D-Bus interface version. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Diffstat (limited to 'wpa_supplicant/systemd')
-rw-r--r--wpa_supplicant/systemd/wpa_supplicant.service.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/systemd/wpa_supplicant.service.in b/wpa_supplicant/systemd/wpa_supplicant.service.in
index ea964ce..bc5d49a 100644
--- a/wpa_supplicant/systemd/wpa_supplicant.service.in
+++ b/wpa_supplicant/systemd/wpa_supplicant.service.in
@@ -5,9 +5,9 @@ Wants=network.target
[Service]
Type=dbus
-BusName=fi.epitest.hostap.WPASupplicant
+BusName=@DBUS_INTERFACE@
ExecStart=@BINDIR@/wpa_supplicant -u
[Install]
WantedBy=multi-user.target
-Alias=dbus-fi.epitest.hostap.WPASupplicant.service
+Alias=dbus-@DBUS_INTERFACE@.service