Mercurial > dovecot > core-2.2
changeset 11722:9b9d6a596688 HEAD
doc/dovecot-initd.sh: Updated base_dir detection.
author | Pascal Volk <user@localhost.localdomain.org> |
---|---|
date | Fri, 02 Jul 2010 21:14:08 +0000 |
parents | c1546ed8ddb6 |
children | 019aae896f03 |
files | doc/dovecot-initd.sh |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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