services: wpa-supplicant: Log to syslog.

* gnu/services/networking.scm (wpa-supplicant-shepherd-service): Pass
"-s" to 'wpa_supplicant'.  Add 'syslogd' to 'requirement'.
master
Ludovic Courtès 2019-04-05 17:52:40 +02:00
parent 1361584983
commit 177bc62d63
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 1 deletions

View File

@ -1060,12 +1060,13 @@ networking."))))
(list (shepherd-service
(documentation "Run the WPA supplicant daemon")
(provision '(wpa-supplicant))
(requirement '(user-processes dbus-system loopback))
(requirement '(user-processes dbus-system loopback syslogd))
(start #~(make-forkexec-constructor
(list (string-append #$wpa-supplicant
"/sbin/wpa_supplicant")
(string-append "-P" #$pid-file)
"-B" ;run in background
"-s" ;log to syslogd
#$@(if dbus?
#~("-u")
#~())