[Pkg-cyrus-sasl2-commits] r110 - in /cyrus-sasl-2.1/trunk/debian:
changelog sasl2-bin.saslauthd.init
fabbe at users.alioth.debian.org
fabbe at users.alioth.debian.org
Wed Nov 1 20:26:31 CET 2006
Author: fabbe
Date: Wed Nov 1 20:26:30 2006
New Revision: 110
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/?sc=1&rev=110
Log:
Better start and stop messages from saslauthd init script.
Modified:
cyrus-sasl-2.1/trunk/debian/changelog
cyrus-sasl-2.1/trunk/debian/sasl2-bin.saslauthd.init
Modified: cyrus-sasl-2.1/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/debian/changelog?rev=110&op=diff
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/changelog (original)
+++ cyrus-sasl-2.1/trunk/debian/changelog Wed Nov 1 20:26:30 2006
@@ -7,9 +7,11 @@
* debian/control: add -modules-ldap package to -modules Suggests.
* debian/control: build-depend on older libdb to ease upgrade.
* debian/sasl2-bin.saslauthd.init: fix typo on line 31.
+ * debian/sasl2-bin.saslauthd.init: if daemon is already running or already
+ stopped, reflect this fact in the start or stop message, respectively.
* debian/rules: socket directory is /var/run/saslauthd, fix typo.
- -- Fabian Fagerholm <fabbe at debian.org> Wed, 1 Nov 2006 21:06:07 +0200
+ -- Fabian Fagerholm <fabbe at debian.org> Wed, 1 Nov 2006 21:24:59 +0200
cyrus-sasl2 (2.1.22-0~pre04) experimental; urgency=low
Modified: cyrus-sasl-2.1/trunk/debian/sasl2-bin.saslauthd.init
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/debian/sasl2-bin.saslauthd.init?rev=110&op=diff
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/sasl2-bin.saslauthd.init (original)
+++ cyrus-sasl-2.1/trunk/debian/sasl2-bin.saslauthd.init Wed Nov 1 20:26:30 2006
@@ -144,7 +144,9 @@
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
do_start
case "$?" in
- 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+ 0) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+ 1) [ "$VERBOSE" != no ] && log_progress_msg "(already running)" && \
+ log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
@@ -152,7 +154,9 @@
[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
do_stop
case "$?" in
- 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+ 0) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+ 1) [ "$VERBOSE" != no ] && log_progress_msg "(not running)" && \
+ log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
More information about the Pkg-cyrus-sasl2-commits
mailing list