]> git.pld-linux.org Git - packages/dbus.git/blobdiff - messagebus.init
- unify msg_not_running usage
[packages/dbus.git] / messagebus.init
index f5bd2b78f12667721ee3f1d889b01ba0b0e93526..f591f165b6c49d9f117a87888acf9122d4136711 100644 (file)
@@ -2,7 +2,7 @@
 #
 # messagebus   The D-BUS systemwide message bus
 #
-# chkconfig:   345 97 03
+# chkconfig:   345 22 85
 #
 # description: This is a daemon which broadcasts notifications of system
 #              events and other messages.
@@ -43,7 +43,7 @@ case "$1" in
        if [ -f /var/lock/subsys/messagebus ]; then
                # Stop daemons.
                msg_stopping messagebus
-               killproc --pidfile dbus.pid
+               killproc --pidfile dbus.pid dbus-daemon
                rm -f /var/lock/subsys/messagebus
                rm -f /var/run/dbus.pid
        else
@@ -61,7 +61,7 @@ case "$1" in
                killproc dbus-daemon -HUP
                RETVAL=$?
        else
-               msg_not_running messagebus >&2
+               msg_not_running messagebus
                RETVAL=7
        fi
        ;;
@@ -75,7 +75,7 @@ case "$1" in
        exit $?
        ;;
   status)
-       status messagebus
+       status messagebus dbus-daemon
        RETVAL=$?
        ;;
   *)
This page took 0.038257 seconds and 4 git commands to generate.