3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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 @@ 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