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:
parent
ee6a5d0e3e
commit
b9bb50c608
|
@ -169,7 +169,8 @@ includes the @code{etc/dbus-1/system.d} directories of each package listed in
|
||||||
(requirement '(user-processes))
|
(requirement '(user-processes))
|
||||||
(start #~(make-forkexec-constructor
|
(start #~(make-forkexec-constructor
|
||||||
(list (string-append #$dbus "/bin/dbus-daemon")
|
(list (string-append #$dbus "/bin/dbus-daemon")
|
||||||
"--nofork" "--system")))
|
"--nofork" "--system")
|
||||||
|
#:pid-file "/var/run/dbus/pid"))
|
||||||
(stop #~(make-kill-destructor)))))))
|
(stop #~(make-kill-destructor)))))))
|
||||||
|
|
||||||
(define dbus-root-service-type
|
(define dbus-root-service-type
|
||||||
|
|
Loading…
Reference in New Issue