guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/07: services: dbus: Log to syslog.


From: guix-commits
Subject: 04/07: services: dbus: Log to syslog.
Date: Wed, 13 Nov 2019 17:27:23 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 7462a1de22636dde24d56225c67bb3c10118b698
Author: Ludovic Courtès <address@hidden>
Date:   Wed Nov 13 22:11:34 2019 +0100

    services: dbus: Log to syslog.
    
    * gnu/services/dbus.scm (dbus-shepherd-service): Add 'syslogd' to
    'requirement'.  Pass the "--syslog-only" command-line option.
---
 gnu/services/dbus.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/services/dbus.scm b/gnu/services/dbus.scm
index db634fe..a97ce17 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)))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]