Merged the hostap_2.6 updates, and the Leap of Faith work, from the hostap_update...
[mech_eap.git] / libeap / wpa_supplicant / systemd / wpa_supplicant.service.in
diff --git a/libeap/wpa_supplicant/systemd/wpa_supplicant.service.in b/libeap/wpa_supplicant/systemd/wpa_supplicant.service.in
new file mode 100644 (file)
index 0000000..bc5d49a
--- /dev/null
@@ -0,0 +1,13 @@
+[Unit]
+Description=WPA supplicant
+Before=network.target
+Wants=network.target
+
+[Service]
+Type=dbus
+BusName=@DBUS_INTERFACE@
+ExecStart=@BINDIR@/wpa_supplicant -u
+
+[Install]
+WantedBy=multi-user.target
+Alias=dbus-@DBUS_INTERFACE@.service