From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] wpa_supplicant: Allow systemd to reload the daemon. Date: Tue, 29 Aug 2017 15:31:51 +0100 Message-ID: <1504017111.2479.36.camel@ipfire.org> In-Reply-To: <20170826081859.2962-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6650895915233571418==" List-Id: --===============6650895915233571418== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Thank you! -Michael On Sat, 2017-08-26 at 10:18 +0200, Stefan Schantl wrote: > * Add the required command to the systemd service file to allow > systemd to reload the running instances of wpa_supplicant. >=20 > * Also drop config file for logrotate, which is not needed anymore. >=20 > Fixes #11479. >=20 > 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 >=20 > diff --git a/wpa_supplicant/systemd/wpa_supplicant(a).service b/wpa_supplic= ant/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_s= upplicant.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_supplica= nt.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/ --===============6650895915233571418== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRSXpCQUFCQ2dBZEZpRUU1L3JXNWwzR0dl Mnlwa3R4Z0hudy8yK1FDUWNGQWxtbGV0Y0FDZ2tRZ0hudy8yK1EKQ1FjMkxRLy9UaS84UzMwb293 WXhsT3JEb1FWb3VzR0xlamhBOXovYlh1QVE4NlpJNWJ2dVUvU3Iyb3Y3N1BUNgo5ZGxOejVCUE5s RmpGTTJBRkVEeXFvRTgwSXNzYjNJbkhQS05aZTg5U25weFU5bWFaSWJNTFMyZ3JYRmI3ZkJlClox ODhUWmZlSmE0aGVpMjByV1djVnRBWS9GeS9BNUdYUUxCajRGQ3hoa0x0T1lvbU9TR29MRXJLRGRx azQzd1MKdm9EQmxaK3ZPS3NTTXI1NjRmMExYUHVwUGhvdHUvaTFLSXpRVkcvcGdzQkxtcnRKNWtG TzVzNHRpZXJIalhORQpvOTFZNnFkRXhjVXF0RzFYWDIrb2Z4SVU2dXhQYU1STGRZcjlEQkVaM29G VC9zK1Z1TERUYlBvc1BHRVpSU1YwCkR2ekw3bWtNenhCMjAveGJlWHdnQk91bkxCK1J3TWZkbzk2 ZkhHLzZRNTRXYWs0TjZuYU84dTJXRUVJTjVETncKa0cyZzVzRzNjVndEayswRVgrK2lybmovZmd2 MzY3MWlGR21KRHg3T1hrQlpXNmt0OHlWMk5nNkdpZEVacGFmcgpWOF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