diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-08-01 19:46:17 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-08-15 18:00:56 +0200 |
commit | fdc7814f12bc0bd1a6442284a5dbac8adeb57f54 (patch) | |
tree | acb374a2c40838fd61101329478200578d74b756 /src | |
parent | 66c1fbe7665fab4a51cbf1d626925d27e339f118 (diff) | |
download | vyos-1x-fdc7814f12bc0bd1a6442284a5dbac8adeb57f54.tar.gz vyos-1x-fdc7814f12bc0bd1a6442284a5dbac8adeb57f54.zip |
macsec: T4537: restart wpa_supplicant on error
(cherry picked from commit b2ff1407330e383a9fff688376377efc534bcfbc)
Diffstat (limited to 'src')
-rw-r--r-- | src/systemd/wpa_supplicant-macsec@.service | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/systemd/wpa_supplicant-macsec@.service b/src/systemd/wpa_supplicant-macsec@.service index 93bebd9d9..39d0bf00b 100644 --- a/src/systemd/wpa_supplicant-macsec@.service +++ b/src/systemd/wpa_supplicant-macsec@.service @@ -9,7 +9,9 @@ RequiresMountsFor=/run 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 +ExecStart=/sbin/wpa_supplicant -d -c/run/wpa_supplicant/%I.conf -Dmacsec_linux -i%I +Restart=always +RestartSec=2 [Install] WantedBy=multi-user.target |