summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-07-16 00:03:41 +0200
committerLudovic Courtès <ludo@gnu.org>2016-07-16 14:41:39 +0200
commitb9bb50c608447170891af524a614748210deea89 (patch)
tree4f2e114a7d015df044e74a54b9a8a08d9e195bbd /gnu
parentee6a5d0e3e8d147c49876df3bd89f0e5dafc0619 (diff)
downloadguix-b9bb50c608447170891af524a614748210deea89.tar.gz
services: dbus: Synchronize startup using dbus-daemon's PID file.
* gnu/services/dbus.scm (dbus-shepherd-service): Pass #:pid-file to
'make-forkexec-constructor'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/dbus.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/dbus.scm b/gnu/services/dbus.scm
index d06b2dde23..6ef13568ef 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