summaryrefslogtreecommitdiff
path: root/src/systemd/wpa_supplicant-macsec@.service
blob: 9fad6b773e9f01fe357eed5ae9cee1baef353004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=WPA supplicant daemon (macsec-specific version)
Requires=sys-subsystem-net-devices-%i.device
ConditionPathExists=/run/wpa_supplicant/%I.conf
After=vyos-router.service
RequiresMountsFor=/run

# NetworkManager users will probably want the dbus version instead.

[Service]
Type=simple
WorkingDirectory=/run/wpa_supplicant
PIDFile=/run/wpa_supplicant/%I.pid
ExecStart=/sbin/wpa_supplicant -c /run/wpa_supplicant/%I.conf -Dmacsec_linux -i%I

[Install]
WantedBy=multi-user.target