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
|
(list (shepherd-service
|
||||||
(documentation "Run the WPA supplicant daemon")
|
(documentation "Run the WPA supplicant daemon")
|
||||||
(provision '(wpa-supplicant))
|
(provision '(wpa-supplicant))
|
||||||
(requirement '(user-processes dbus-system loopback))
|
(requirement '(user-processes dbus-system loopback syslogd))
|
||||||
(start #~(make-forkexec-constructor
|
(start #~(make-forkexec-constructor
|
||||||
(list (string-append #$wpa-supplicant
|
(list (string-append #$wpa-supplicant
|
||||||
"/sbin/wpa_supplicant")
|
"/sbin/wpa_supplicant")
|
||||||
(string-append "-P" #$pid-file)
|
(string-append "-P" #$pid-file)
|
||||||
"-B" ;run in background
|
"-B" ;run in background
|
||||||
|
"-s" ;log to syslogd
|
||||||
#$@(if dbus?
|
#$@(if dbus?
|
||||||
#~("-u")
|
#~("-u")
|
||||||
#~())
|
#~())
|
||||||
|
|
Loading…
Reference in New Issue