Package: pure-ftpd Severity: wishlist Version: 1.0.21-11.4 Tags: patch User: [EMAIL PROTECTED] Usertags: origin-ubuntu ubuntu-patch jaunty
The pure-ftpd init script doesn't provide a "status" action to query the state of the daemon. The following proposed patch leverages the new status_of_proc helper provided in lsb-base (>= 3.2-14) to provide a "status" action. -- Thierry Carrez
--- debian/tomcat5.5.init.old 2008-11-14 15:30:23.000000000 +0100 +++ debian/tomcat5.5.init 2008-11-14 15:30:47.000000000 +0100 @@ -196,8 +196,10 @@ if [ -f "$CATALINA_PID" ]; then log_success_msg "$DESC is not running, but pid file exists." + exit 1 else log_success_msg "$DESC is not running." + exit 3 fi else log_success_msg "$DESC is running with pid `cat $CATALINA_PID`"