commit 5eb44fd7ce46db0848dd942119dff34925ee1734
Author: Jacek Konieczny <[email protected]>
Date:   Thu Apr 23 09:05:37 2015 +0200

    drop upstart hacks from the init script too

 messagebus.init | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/messagebus.init b/messagebus.init
index 21e9ff1..b4effc5 100755
--- a/messagebus.init
+++ b/messagebus.init
@@ -12,8 +12,6 @@
 # Source function library
 . /etc/rc.d/init.d/functions
 
-upstart_controlled
-
 # Get network config
 . /etc/sysconfig/network
 
@@ -34,7 +32,6 @@ start() {
                return
        fi
 
-       emit starting JOB=messagebus
        msg_starting "D-BUS Message bus"
        # if capability is modular, load it
        if modinfo capability >/dev/null 2>&1; then
@@ -45,7 +42,6 @@ start() {
        RETVAL=$?
        if [ $RETVAL -eq 0 ] ; then
                touch /var/lock/subsys/messagebus
-               emit --no-wait started JOB=messagebus
        fi
 }
 
@@ -56,11 +52,9 @@ stop() {
        fi
 
        # Stop daemons.
-       emit stopping JOB=messagebus
        msg_stopping "D-BUS Message bus"
        killproc --pidfile dbus.pid dbus-daemon
        rm -f /var/lock/subsys/messagebus /var/run/dbus.pid
-       emit --no-wait stopped JOB=messagebus
 }
 
 condrestart() {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dbus.git/commitdiff/5eb44fd7ce46db0848dd942119dff34925ee1734

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to