guix-commits
[Top][All Lists]
Advanced

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

01/04: services: dbus: Synchronize startup using dbus-daemon's PID file.


From: Ludovic Courtès
Subject: 01/04: services: dbus: Synchronize startup using dbus-daemon's PID file.
Date: Sat, 16 Jul 2016 12:41:59 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit b9bb50c608447170891af524a614748210deea89
Author: Ludovic Courtès <address@hidden>
Date:   Sat Jul 16 00:03:41 2016 +0200

    services: dbus: Synchronize startup using dbus-daemon's PID file.
    
    * gnu/services/dbus.scm (dbus-shepherd-service): Pass #:pid-file to
    'make-forkexec-constructor'.
---
 gnu/services/dbus.scm |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/services/dbus.scm b/gnu/services/dbus.scm
index d06b2dd..6ef1356 100644
--- a/gnu/services/dbus.scm
+++ b/gnu/services/dbus.scm
@@ -169,7 +169,8 @@ includes the @code{etc/dbus-1/system.d} directories of each 
package listed in
             (requirement '(user-processes))
             (start #~(make-forkexec-constructor
                       (list (string-append #$dbus "/bin/dbus-daemon")
-                            "--nofork" "--system")))
+                            "--nofork" "--system")
+                      #:pid-file "/var/run/dbus/pid"))
             (stop #~(make-kill-destructor)))))))
 
 (define dbus-root-service-type



reply via email to

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