399ec170e8
The 'network.target' is special (per systemd.special(7)), and is to be brought up indirectly when network is actually configured (i.e. through DHCP or static address settings). Irrelevant of that, all services should be always installed in multi-user.target. [Bug 427]
13 lines
403 B
SYSTEMD
13 lines
403 B
SYSTEMD
[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
|