From b2ff1407330e383a9fff688376377efc534bcfbc Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 1 Aug 2022 19:46:17 +0200 Subject: macsec: T4537: restart wpa_supplicant on error --- src/systemd/wpa_supplicant-macsec@.service | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/systemd') 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 -- cgit v1.2.3