diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-04-05 17:52:40 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-04-05 17:55:51 +0200 |
commit | 177bc62d63e89a1ce2f255879bca1fdc5f3769f1 (patch) | |
tree | 2b9b7e4f27661bb1f3d2636f08dd765e43b114cb /gnu/services | |
parent | 1361584983b7e53f5eadd1815d1a2b81b387e6ad (diff) | |
download | patches-177bc62d63e89a1ce2f255879bca1fdc5f3769f1.tar patches-177bc62d63e89a1ce2f255879bca1fdc5f3769f1.tar.gz |
services: wpa-supplicant: Log to syslog.
* gnu/services/networking.scm (wpa-supplicant-shepherd-service): Pass
"-s" to 'wpa_supplicant'. Add 'syslogd' to 'requirement'.
Diffstat (limited to 'gnu/services')
-rw-r--r-- | gnu/services/networking.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm index 5fbbf25789..61561a40dd 100644 --- a/gnu/services/networking.scm +++ b/gnu/services/networking.scm @@ -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") #~()) |