]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
wpa_supplicant: Allow systemd to reload the daemon
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 26 Aug 2017 08:18:59 +0000 (10:18 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 29 Aug 2017 14:47:56 +0000 (15:47 +0100)
* 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 <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
wpa_supplicant/systemd/wpa_supplicant@.service
wpa_supplicant/wpa_supplicant.logrotate [deleted file]
wpa_supplicant/wpa_supplicant.nm

index 3c41490a9e40b41b13c4665fada8db219281eb70..79073107c2e7ddddc0a9873af9cd1a2dc947d052 100644 (file)
@@ -3,6 +3,7 @@ Description=wpa_supplicant for %I.
 
 [Service]
 ExecStart=/usr/lib/network/helpers/wpa_supplicant %I
+ExecReload=/bin/kill -HUP $MAINPID
 PIDFile=/run/wpa_supplicant-%I.pid
 Restart=on-failure
 UtmpIdentifier=%I
diff --git a/wpa_supplicant/wpa_supplicant.logrotate b/wpa_supplicant/wpa_supplicant.logrotate
deleted file mode 100644 (file)
index bd7ef91..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/var/log/wpa_supplicant.log {
-    missingok
-    notifempty
-    size 30k
-    create 0600 root root
-}
index aeb5011e649e2519c744eb7255d0df5cb7e4e42f..80307cd0aa81b85cc9ac7c0caaad750d8271a18e 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = wpa_supplicant
 version    = 2.6
-release    = 1
+release    = 2
 
 groups     = Sytem/Base
 url        = http://hostap.epitest.fi/releases/