]> 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 0094fdba5ba85f3908c691b81f8cca7dfbed6683..e8e6616767b2b31a3220a10a04c601d170df95d9 100644 (file)
@@ -1,16 +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.
 
-start on started SERVICE=syslog-ng
+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
 
 exec /usr/bin/dbus-daemon --system --fork
-expect fork
 
-# vi: ft=upstart
+# ask Upstart to reconnect to the bus
+post-start exec kill -USR1 1
+
+post-stop script
+       rm -f /var/run/dbus.pid || :
+end script
This page took 0.681735 seconds and 4 git commands to generate.