diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-07-16 00:03:41 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-07-16 14:41:39 +0200 |
commit | b9bb50c608447170891af524a614748210deea89 (patch) | |
tree | 4f2e114a7d015df044e74a54b9a8a08d9e195bbd /gnu | |
parent | ee6a5d0e3e8d147c49876df3bd89f0e5dafc0619 (diff) | |
download | guix-b9bb50c608447170891af524a614748210deea89.tar guix-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.scm | 3 |
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 |