mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05: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:
parent
ee6a5d0e3e
commit
b9bb50c608
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue