From e73e36647d12566723e50d85c9ffaefa48a49265 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 12 Aug 2002 03:24:07 +0000 Subject: Tell about removing --- debian/echolot.init | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/echolot.init b/debian/echolot.init index c5d9804..ac8ef34 100755 --- a/debian/echolot.init +++ b/debian/echolot.init @@ -89,10 +89,12 @@ start) PID=`cat $PIDFILE 2>/devnull` || true if kill -0 $PID 2>/dev/null then - echo "$DESC already running" + echo "$DESC already running." exit 0 else - rm -f /var/run/echolot/pingd.pid + echo -n "Removing stale pid file: " + rm -f $PIDFILE + echo "$PIDFILE." fi fi echo -n "Starting $DESC: " -- cgit v1.2.3