[Pkg-cyrus-sasl2-commits] r619 - /cyrus-sasl-2.1/trunk/debian/sasl2-bin.saslauthd.init

roberto at users.alioth.debian.org roberto at users.alioth.debian.org
Sun Mar 13 01:45:28 UTC 2011


Author: roberto
Date: Sun Mar 13 01:45:27 2011
New Revision: 619

URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/?sc=1&rev=619
Log:
Make init script error message more descriptive

Modified:
    cyrus-sasl-2.1/trunk/debian/sasl2-bin.saslauthd.init

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=619&op=diff
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/sasl2-bin.saslauthd.init (original)
+++ cyrus-sasl-2.1/trunk/debian/sasl2-bin.saslauthd.init Sun Mar 13 01:45:27 2011
@@ -101,7 +101,7 @@
 	RUN_DIR=`echo "$OPTIONS" | xargs -n 1 echo | sed -n '/^-m$/{n;p}'`
 	if [ -z "$RUN_DIR" ]; then
 		# No run directory defined in defaults file, fail.
-		log_failure_msg "No run directory defined for $NAME, not starting"
+                log_failure_msg "No run directory defined for $NAME (did you forget to set OPTIONS=\"-c -m /var/run/saslauthd\" in the defaults file?), not starting"
 		return 1
 	fi
 	PIDFILE=$RUN_DIR/saslauthd.pid
@@ -189,7 +189,7 @@
 	RUN_DIR=`echo "$OPTIONS" | xargs -n 1 echo | sed -n '/^-m$/{n;p}'`
 	if [ -z "$RUN_DIR" ]; then
 		# No run directory defined in defaults file, fail.
-		log_failure_msg "No run directory defined for $NAME, cannot stop"
+                log_failure_msg "No run directory defined for $NAME (did you forget to set OPTIONS=\"-c -m /var/run/saslauthd\" in the defaults file?), not starting"
 		return 2
 	fi
 	PIDFILE=$RUN_DIR/saslauthd.pid
@@ -247,7 +247,7 @@
 	RUN_DIR=`echo "$OPTIONS" | xargs -n 1 echo | sed -n '/^-m$/{n;p}'`
 	if [ -z "$RUN_DIR" ]; then
 		# No run directory defined in defaults file, fail.
-		log_failure_msg "No run directory defined for $NAME, cannot reload"
+                log_failure_msg "No run directory defined for $NAME (did you forget to set OPTIONS=\"-c -m /var/run/saslauthd\" in the defaults file?), not starting"
 		return 2
 	fi
 	PIDFILE=$RUN_DIR/saslauthd.pid




More information about the Pkg-cyrus-sasl2-commits mailing list