#!/bin/sh
+### BEGIN INIT INFO
+# Provides: dovecot
+# Required-Start: $local_fs $syslog
+# Required-Stop: $local_fs $syslog
+# Should-Start: $time
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Dovecot init script
+# Description: Init script for dovecot services
+### END INIT INFO
# Example /etc/init.d/dovecot script. Change DAEMON if necessary.
# License is public domain.
test -x $DAEMON || exit 1
set -e
-base_dir=`$DAEMON -a|grep '^base_dir: '|sed 's/^base_dir: //'`
+base_dir=`$DAEMON -a|grep '^base_dir = '|sed 's/^base_dir = //'`
pidfile=$base_dir/master.pid
if test -f $pidfile; then