]>
Commit | Line | Data |
---|---|---|
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 | ||
6 | description "D-Bus system message bus" | |
f922e835 | 7 | |
d7f80f7d | 8 | start on pld.sysinit-done |
f922e835 JK |
9 | stop on pld.shutdown-started |
10 | ||
a1c88972 ER |
11 | expect fork |
12 | respawn | |
13 | ||
f922e835 JK |
14 | pre-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 |
19 | end script |
20 | ||
21 | exec /usr/bin/dbus-daemon --system --fork | |
ba725408 | 22 | |
a1c88972 ER |
23 | # ask Upstart to reconnect to the bus |
24 | post-start exec kill -USR1 1 | |
e06070cd | 25 | |
ba725408 JK |
26 | post-stop script |
27 | rm -f /var/run/dbus.pid || : | |
28 | end script |