]> git.pld-linux.org Git - packages/dbus.git/blobdiff - messagebus.upstart
- updated to 1.8.6 (fixes CVE-2014-3532 CVE-2014-3533)
[packages/dbus.git] / messagebus.upstart
index 4513338280bfa45f1376af7b8503b124bb0eba3e..e8e6616767b2b31a3220a10a04c601d170df95d9 100644 (file)
@@ -1,22 +1,28 @@
-description "The D-BUS systemwide message bus"
+# dbus - D-Bus system message bus
+#
+# The D-Bus system message bus allows system daemons and user applications
+# to communicate.
+
+description "D-Bus system message bus"
 
 start on pld.sysinit-done
 stop on pld.shutdown-started
 
+expect fork
+respawn
+
 pre-start script
        if modinfo capability >/dev/null 2>&1; then
                modprobe -s capability
        fi
-       dbus-uuidgen --ensure
+       exec dbus-uuidgen --ensure
 end script
 
-respawn
 exec /usr/bin/dbus-daemon --system --fork
 
+# ask Upstart to reconnect to the bus
+post-start exec kill -USR1 1
+
 post-stop script
        rm -f /var/run/dbus.pid || :
 end script
-
-expect fork
-
-# vi: ft=upstart
This page took 0.350573 seconds and 4 git commands to generate.