services: wpa-supplicant: Log to syslog.
* gnu/services/networking.scm (wpa-supplicant-shepherd-service): Pass "-s" to 'wpa_supplicant'. Add 'syslogd' to 'requirement'.
This commit is contained in:
parent
1361584983
commit
177bc62d63
|
@ -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")
|
||||
#~())
|
||||
|
|
Loading…
Reference in New Issue