aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/dbus.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-11-13 22:11:34 +0100
committerLudovic Courtès <ludo@gnu.org>2019-11-13 23:26:36 +0100
commit7462a1de22636dde24d56225c67bb3c10118b698 (patch)
tree898f6d95401f65f42e03b890ba2565a5dcc63906 /gnu/services/dbus.scm
parenta01d2e300abf8721866c8d1f984b0db90d192f9d (diff)
downloadguix-7462a1de22636dde24d56225c67bb3c10118b698.tar
guix-7462a1de22636dde24d56225c67bb3c10118b698.tar.gz
services: dbus: Log to syslog.
* gnu/services/dbus.scm (dbus-shepherd-service): Add 'syslogd' to 'requirement'. Pass the "--syslog-only" command-line option.
Diffstat (limited to 'gnu/services/dbus.scm')
-rw-r--r--gnu/services/dbus.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/services/dbus.scm b/gnu/services/dbus.scm
index db634fe0d8..a97ce17c0c 100644
--- a/gnu/services/dbus.scm
+++ b/gnu/services/dbus.scm
@@ -195,10 +195,10 @@ includes the @code{etc/dbus-1/system.d} directories of each package listed in
(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)))))))