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