dovecot-2.0: doc/dovecot-initd.sh: Updated base_dir detection.

dovecot at dovecot.org dovecot at dovecot.org
Sat Jul 3 00:18:56 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/9b9d6a596688
changeset: 11722:9b9d6a596688
user:      Pascal Volk <user at localhost.localdomain.org>
date:      Fri Jul 02 21:14:08 2010 +0000
description:
doc/dovecot-initd.sh: Updated base_dir detection.

diffstat:

 doc/dovecot-initd.sh |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r c1546ed8ddb6 -r 9b9d6a596688 doc/dovecot-initd.sh
--- a/doc/dovecot-initd.sh	Fri Jul 02 21:52:16 2010 +0100
+++ b/doc/dovecot-initd.sh	Fri Jul 02 21:14:08 2010 +0000
@@ -16,10 +16,13 @@
 
 DAEMON=/usr/local/sbin/dovecot
 
+# Uncomment to allow Dovecot daemons to produce core dumps.
+#ulimit -c unlimited
+
 test -x $DAEMON || exit 1
 set -e
 
-base_dir=`$DAEMON -a|grep '^base_dir = '|sed 's/^base_dir = //'`
+base_dir=`$DAEMON config -h base_dir`
 pidfile=$base_dir/master.pid
 
 if test -f $pidfile; then


More information about the dovecot-cvs mailing list