]> git.pld-linux.org Git - packages/dbus.git/commitdiff
drop upstart hacks from the init script too
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 23 Apr 2015 07:05:37 +0000 (09:05 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 23 Apr 2015 07:05:37 +0000 (09:05 +0200)
messagebus.init

index 21e9ff14ed2513fce0f4a87a5c10f8175acddd4c..b4effc5aa8e099148925ae9679df4e0d29043671 100755 (executable)
@@ -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() {
This page took 0.108695 seconds and 4 git commands to generate.