From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] wpa_supplicant: Allow systemd to reload the daemon. Date: Sat, 26 Aug 2017 10:18:59 +0200 Message-ID: <20170826081859.2962-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4513091143308653295==" List-Id: --===============4513091143308653295== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable * Add the required command to the systemd service file to allow systemd to reload the running instances of wpa_supplicant. * Also drop config file for logrotate, which is not needed anymore. Fixes #11479. Signed-off-by: Stefan Schantl --- wpa_supplicant/systemd/wpa_supplicant(a).service | 1 + wpa_supplicant/wpa_supplicant.logrotate | 6 ------ wpa_supplicant/wpa_supplicant.nm | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 wpa_supplicant/wpa_supplicant.logrotate diff --git a/wpa_supplicant/systemd/wpa_supplicant(a).service b/wpa_supplican= t/systemd/wpa_supplicant(a).service index 3c41490..7907310 100644 --- a/wpa_supplicant/systemd/wpa_supplicant(a).service +++ b/wpa_supplicant/systemd/wpa_supplicant(a).service @@ -3,6 +3,7 @@ Description=3Dwpa_supplicant for %I. =20 [Service] ExecStart=3D/usr/lib/network/helpers/wpa_supplicant %I +ExecReload=3D/bin/kill -HUP $MAINPID PIDFile=3D/run/wpa_supplicant-%I.pid Restart=3Don-failure UtmpIdentifier=3D%I diff --git a/wpa_supplicant/wpa_supplicant.logrotate b/wpa_supplicant/wpa_sup= plicant.logrotate deleted file mode 100644 index bd7ef91..0000000 --- a/wpa_supplicant/wpa_supplicant.logrotate +++ /dev/null @@ -1,6 +0,0 @@ -/var/log/wpa_supplicant.log { - missingok - notifempty - size 30k - create 0600 root root -} diff --git a/wpa_supplicant/wpa_supplicant.nm b/wpa_supplicant/wpa_supplicant= .nm index aeb5011..80307cd 100644 --- a/wpa_supplicant/wpa_supplicant.nm +++ b/wpa_supplicant/wpa_supplicant.nm @@ -5,7 +5,7 @@ =20 name =3D wpa_supplicant version =3D 2.6 -release =3D 1 +release =3D 2 =20 groups =3D Sytem/Base url =3D http://hostap.epitest.fi/releases/ --=20 2.9.4 --===============4513091143308653295==--