services: dbus: Log to syslog.

* gnu/services/dbus.scm (dbus-shepherd-service): Add 'syslogd' to
'requirement'.  Pass the "--syslog-only" command-line option.
This commit is contained in:
Ludovic Courtès 2019-11-13 22:11:34 +01:00
parent a01d2e300a
commit 7462a1de22
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -195,10 +195,10 @@ (define dbus-shepherd-service
(list (shepherd-service
(documentation "Run the D-Bus system daemon.")
(provision '(dbus-system))
(requirement '(user-processes))
(requirement '(user-processes syslogd))
(start #~(make-forkexec-constructor
(list (string-append #$dbus "/bin/dbus-daemon")
"--nofork" "--system")
"--nofork" "--system" "--syslog-only")
#:pid-file "/var/run/dbus/pid"))
(stop #~(make-kill-destructor)))))))