diff -ruN dovecot-1.0.10.orig/debian/changelog dovecot-1.0.10/debian/changelog --- dovecot-1.0.10.orig/debian/changelog 2008-03-18 07:30:32.000000000 +0900 +++ dovecot-1.0.10/debian/changelog 2008-03-18 08:16:49.000000000 +0900 @@ -1,3 +1,10 @@ +dovecot (1:1.0.10-1ubuntu3) hardy; urgency=low + + * debian/dovecot-common.init: Added support for LSB status compliance (LP: #203169), + coded with Dustin Kirkland + + -- Onno Benschop Tue, 18 Mar 2008 08:16:40 +0900 + dovecot (1:1.0.10-1ubuntu2) hardy; urgency=low * No-change rebuild against libldap-2.4-2. diff -ruN dovecot-1.0.10.orig/debian/dovecot-common.init dovecot-1.0.10/debian/dovecot-common.init --- dovecot-1.0.10.orig/debian/dovecot-common.init 2008-03-18 07:30:32.000000000 +0900 +++ dovecot-1.0.10/debian/dovecot-common.init 2008-03-18 07:44:42.000000000 +0900 @@ -167,9 +167,13 @@ ;; esac ;; + status) + status_of_proc "$DAEMON" "$NAME" + exit $? + ;; *) - #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 - echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 + #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload|status}" >&2 + echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" >&2 exit 3 ;; esac