summaryrefslogtreecommitdiff
path: root/src/systemd/wpa_supplicant-macsec@.service
blob: 7e0bee8e10154fa57bee1212dcbed641f5df3309 (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