]> git.pld-linux.org Git - packages/dbus.git/commitdiff
- no longer workaround for hald, cleanups
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 9 Oct 2011 18:35:03 +0000 (18:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    messagebus.upstart -> 1.8

messagebus.upstart

index d3d132a10d95f16d1ed54cd709e8260d4d34aa83..e8e6616767b2b31a3220a10a04c601d170df95d9 100644 (file)
@@ -1,28 +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
-expect fork
 exec /usr/bin/dbus-daemon --system --fork
 
-post-start script
-       # ask Upstart to reconnect to the bus
-       kill -USR1 1
-       # lockfile for hald
-       touch /var/lock/subsys/messagebus || :
-end script
+# ask Upstart to reconnect to the bus
+post-start exec kill -USR1 1
 
 post-stop script
        rm -f /var/run/dbus.pid || :
-       # lockfile for hald
-       rm -f /var/lock/subsys/messagebus || :
 end script
This page took 0.031222 seconds and 4 git commands to generate.