summaryrefslogtreecommitdiff
path: root/src/systemd/wpa_supplicant-macsec@.service
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-21 16:08:26 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-21 16:08:26 +0200
commit5df7e8f35234497c03d504ea838dbd7044c49bb3 (patch)
tree8f73508e231f9de949eeec6a4b7efa1a25759bda /src/systemd/wpa_supplicant-macsec@.service
parentd8d3c1cb5a5aed4ecee9ea1a17dafc09c98bdfaa (diff)
downloadvyos-1x-5df7e8f35234497c03d504ea838dbd7044c49bb3.tar.gz
vyos-1x-5df7e8f35234497c03d504ea838dbd7044c49bb3.zip
macsec: T2023: cleanup wpa_supplicant config file name
Diffstat (limited to 'src/systemd/wpa_supplicant-macsec@.service')
-rw-r--r--src/systemd/wpa_supplicant-macsec@.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/systemd/wpa_supplicant-macsec@.service b/src/systemd/wpa_supplicant-macsec@.service
index 7ad12e54e..9fad6b773 100644
--- a/src/systemd/wpa_supplicant-macsec@.service
+++ b/src/systemd/wpa_supplicant-macsec@.service
@@ -1,7 +1,7 @@
[Unit]
Description=WPA supplicant daemon (macsec-specific version)
Requires=sys-subsystem-net-devices-%i.device
-ConditionPathExists=/run/wpa_supplicant/wpa_supplicant-%I.conf
+ConditionPathExists=/run/wpa_supplicant/%I.conf
After=vyos-router.service
RequiresMountsFor=/run
@@ -10,7 +10,8 @@ RequiresMountsFor=/run
[Service]
Type=simple
WorkingDirectory=/run/wpa_supplicant
-ExecStart=/sbin/wpa_supplicant -c /run/wpa_supplicant/wpa_supplicant-%I.conf -Dmacsec_linux -i%I
+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