fe0429a589
According to the systemd documentation "WantedBy=foo.service in a service bar.service is mostly equivalent to Alias=foo.service.wants/bar.service in the same file." However, this is not really the intended purpose of install Aliases. Signed-off-by: Joshua DeWeese <jdeweese@hennypenny.com>
15 lines
446 B
Text
15 lines
446 B
Text
[Unit]
|
|
Description=WPA supplicant daemon (interface- and wired driver-specific version)
|
|
Requires=sys-subsystem-net-devices-%i.device
|
|
After=sys-subsystem-net-devices-%i.device
|
|
Before=network.target
|
|
Wants=network.target
|
|
|
|
# NetworkManager users will probably want the dbus version instead.
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wired-%I.conf -Dwired -i%I
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|