3 # messagebus: The D-BUS systemwide message bus
6 # description: This is a daemon which broadcasts notifications of system events \
7 # and other messages. See http://www.freedesktop.org/software/dbus/
9 # processname: dbus-daemon-1
10 # pidfile: @EXPANDED_LOCALSTATEDIR@/messagebus.pid
14 [ -x @EXPANDED_BINDIR@/dbus-daemon-1 ] || exit 0
16 # Source function library.
17 . @EXPANDED_SYSCONFDIR@/rc.d/init.d/functions
22 echo -n $"Starting system message bus: "
23 daemon dbus-daemon-1 --system
26 [ $RETVAL -eq 0 ] && touch @EXPANDED_LOCALSTATEDIR@/lock/subsys/messagebus
30 echo -n $"Stopping system message bus: "
34 if [ $RETVAL -eq 0 ]; then
35 rm -f @EXPANDED_LOCALSTATEDIR@/lock/subsys/messagebus
39 # See how we were called.
56 if [ -f @EXPANDED_LOCALSTATEDIR@/lock/subsys/messagebus ]; then
62 killproc messagebus -HUP
66 echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}"