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

* gnu/services/dbus.scm (dbus-shepherd-service): Pass #:pid-file to
'make-forkexec-constructor'.
This commit is contained in:
Ludovic Courtès 2016-07-16 00:03:41 +02:00
parent ee6a5d0e3e
commit b9bb50c608
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -169,7 +169,8 @@ (define dbus-shepherd-service
(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