[Pkg-utopia-commits] r3652 - in /packages/unstable/dbus/debian: changelog dbus.init

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Sat Jul 17 12:02:56 UTC 2010


Author: biebl
Date: Sat Jul 17 12:02:44 2010
New Revision: 3652

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=3652
Log:
* debian/dbus.init
  - Simplify check in start_it_up() by using the existing status action.

Modified:
    packages/unstable/dbus/debian/changelog
    packages/unstable/dbus/debian/dbus.init

Modified: packages/unstable/dbus/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/dbus/debian/changelog?rev=3652&op=diff
==============================================================================
--- packages/unstable/dbus/debian/changelog (original)
+++ packages/unstable/dbus/debian/changelog Sat Jul 17 12:02:44 2010
@@ -15,6 +15,8 @@
     - Use architecture wildcard linux-any for libselinux1-dev Build-Depends.
     - Use Breaks instead of Conflicts as recommended by the new policy.
     - Remove old Conflicts which is no longer relevant.
+  * debian/dbus.init
+    - Simplify check in start_it_up() by using the existing status action.
 
  -- Michael Biebl <biebl at debian.org>  Thu, 15 Jul 2010 01:10:46 +0200
 

Modified: packages/unstable/dbus/debian/dbus.init
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/dbus/debian/dbus.init?rev=3652&op=diff
==============================================================================
--- packages/unstable/dbus/debian/dbus.init (original)
+++ packages/unstable/dbus/debian/dbus.init Sat Jul 17 12:02:44 2010
@@ -99,8 +99,7 @@
   fi
 
   if [ -e $PIDFILE ]; then
-    PIDDIR=/proc/$(cat $PIDFILE)
-    if [ -d ${PIDDIR} -a  "$(readlink -f ${PIDDIR}/exe)" = "${DAEMON}" ]; then 
+    if $0 status > /dev/null ; then
       log_success_msg "$DESC already started; not starting."
       return
     else




More information about the Pkg-utopia-commits mailing list