aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/systemd/wpa_supplicant.service.arg.in
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_supplicant/systemd/wpa_supplicant.service.arg.in')
-rw-r--r--wpa_supplicant/systemd/wpa_supplicant.service.arg.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/wpa_supplicant/systemd/wpa_supplicant.service.arg.in b/wpa_supplicant/systemd/wpa_supplicant.service.arg.in
new file mode 100644
index 0000000..c215567
--- /dev/null
+++ b/wpa_supplicant/systemd/wpa_supplicant.service.arg.in
@@ -0,0 +1,13 @@
+[Unit]
+Description=WPA supplicant daemon (interface-specific version)
+Requires=sys-subsystem-net-devices-%i.device
+After=sys-subsystem-net-devices-%i.device
+
+# NetworkManager users will probably want the dbus version instead.
+
+[Service]
+Type=simple
+ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I
+
+[Install]
+Alias=multi-user.target.wants/wpa_supplicant@wlan0.service