summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-01 20:53:47 +0200
committerChristian Poessinger <christian@poessinger.com>2022-08-15 18:00:56 +0200
commit52b4b47f9e2484af7d493b72ebf0999c0047bf7b (patch)
treeb116192599d0a387c601bf677fba9e6ad2a0e8a4
parentfdc7814f12bc0bd1a6442284a5dbac8adeb57f54 (diff)
downloadvyos-1x-52b4b47f9e2484af7d493b72ebf0999c0047bf7b.tar.gz
vyos-1x-52b4b47f9e2484af7d493b72ebf0999c0047bf7b.zip
macsec: T4537: supply PID path via systemd service file to daemon
(cherry picked from commit 5e919d3f91bccaf64878a94756c21766896db132)
-rw-r--r--src/systemd/wpa_supplicant-macsec@.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd/wpa_supplicant-macsec@.service b/src/systemd/wpa_supplicant-macsec@.service
index 39d0bf00b..703009ad5 100644
--- a/src/systemd/wpa_supplicant-macsec@.service
+++ b/src/systemd/wpa_supplicant-macsec@.service
@@ -9,7 +9,7 @@ RequiresMountsFor=/run
Type=simple
WorkingDirectory=/run/wpa_supplicant
PIDFile=/run/wpa_supplicant/%I.pid
-ExecStart=/sbin/wpa_supplicant -d -c/run/wpa_supplicant/%I.conf -Dmacsec_linux -i%I
+ExecStart=/sbin/wpa_supplicant -d -c/run/wpa_supplicant/%I.conf -Dmacsec_linux -P/run/wpa_supplicant/%I.pid -i%I
Restart=always
RestartSec=2