]> git.pld-linux.org Git - packages/dbus.git/blob - messagebus.upstart
- release 4
[packages/dbus.git] / messagebus.upstart
1 # dbus - D-Bus system message bus
2 #
3 # The D-Bus system message bus allows system daemons and user applications
4 # to communicate.
5
6 description "D-Bus system message bus"
7
8 start on pld.sysinit-done
9 stop on pld.shutdown-started
10
11 expect fork
12 respawn
13
14 pre-start script
15         if modinfo capability >/dev/null 2>&1; then
16                 modprobe -s capability
17         fi
18         exec dbus-uuidgen --ensure
19 end script
20
21 exec /usr/bin/dbus-daemon --system --fork
22
23 # ask Upstart to reconnect to the bus
24 post-start exec kill -USR1 1
25
26 post-stop script
27         rm -f /var/run/dbus.pid || :
28 end script
This page took 0.061512 seconds and 3 git commands to generate.