From 49fa83f2075eaa66105e398d5ef6331f6c7a4d84 Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Fri, 21 May 2010 11:01:20 +0000 Subject: [PATCH] - stop/start upstart event emission fix - Release: 5 Changed files: dbus.spec -> 1.204 messagebus.init -> 1.20 --- dbus.spec | 2 +- messagebus.init | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dbus.spec b/dbus.spec index 4667f08..5bbadbc 100644 --- a/dbus.spec +++ b/dbus.spec @@ -8,7 +8,7 @@ Summary: D-BUS message bus Summary(pl.UTF-8): Magistrala przesyłania komunikatów D-BUS Name: dbus Version: 1.2.24 -Release: 4 +Release: 5 License: AFL v2.1 or GPL v2 Group: Libraries Source0: http://dbus.freedesktop.org/releases/dbus/%{name}-%{version}.tar.gz diff --git a/messagebus.init b/messagebus.init index 99c52ee..4aa8721 100644 --- a/messagebus.init +++ b/messagebus.init @@ -32,7 +32,7 @@ start() { return fi - emit starting messagebus + emit starting JOB=messagebus msg_starting "D-BUS Message bus" # if capability is modular, load it if modinfo capability >/dev/null 2>&1; then @@ -43,7 +43,7 @@ start() { RETVAL=$? if [ $RETVAL -eq 0 ] ; then touch /var/lock/subsys/messagebus - emit --no-wait started messagebus + emit --no-wait started JOB=messagebus fi } @@ -54,11 +54,11 @@ stop() { fi # Stop daemons. - emit stopping messagebus + 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 messagebus + emit --no-wait stopped JOB=messagebus } condrestart() { -- 2.44.0