diff -u lighttpd-1.4.19/debian/init.d lighttpd-1.4.19/debian/init.d --- lighttpd-1.4.19/debian/init.d +++ lighttpd-1.4.19/debian/init.d @@ -76,8 +76,11 @@ grep -q `cat $PIDFILE 2>/dev/null` 2>/dev/null ; do sleep 1; done $0 start ;; + status) + status_of_proc -p "$PIDFILE" "$DAEMON" lighttpd && exit 0 || exit $? + ;; *) - echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload|status}" >&2 exit 1 ;; esac diff -u lighttpd-1.4.19/debian/changelog lighttpd-1.4.19/debian/changelog --- lighttpd-1.4.19/debian/changelog +++ lighttpd-1.4.19/debian/changelog @@ -1,3 +1,11 @@ +lighttpd (1.4.19-4ubuntu2) intrepid; urgency=low + + * debian/control: Depend on lsb >= 3.2-14, which has the + status_of_proc() function. + * debian/init.d: Add the 'status' action (LP: #251924). + + -- Andres Rodriguez Fri, 25 Jul 2008 11:47:48 -0500 + lighttpd (1.4.19-4ubuntu1) intrepid; urgency=low * Merge from debian unstable (LP: #233966), remaining changes: diff -u lighttpd-1.4.19/debian/control lighttpd-1.4.19/debian/control --- lighttpd-1.4.19/debian/control +++ lighttpd-1.4.19/debian/control @@ -18,7 +18,7 @@ Package: lighttpd Homepage: http://www.lighttpd.net Architecture: any -Depends: ${shlibs:Depends}, lsb-base (>= 3.0-3), mime-support, libterm-readline-perl-perl +Depends: ${shlibs:Depends}, lsb-base (>= 3.2-14), mime-support, libterm-readline-perl-perl Provides: httpd, httpd-cgi Suggests: openssl, rrdtool, apache2-utils Conflicts: cherokee (<= 0.6.1-1)