dovecot-2.0-sslstream: doc/dovecot-initd.sh added LSB-compliant ...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:56:37 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/7ad38188c36b
changeset: 10380:7ad38188c36b
user:      Pascal Volk <user at localhost.localdomain.org>
date:      Thu Nov 19 06:32:54 2009 +0000
description:
doc/dovecot-initd.sh added LSB-compliant info block. Updated base_dir detection.

diffstat:

1 file changed, 11 insertions(+), 1 deletion(-)
doc/dovecot-initd.sh |   12 +++++++++++-

diffs (27 lines):

diff -r 8503b074bec0 -r 7ad38188c36b doc/dovecot-initd.sh
--- a/doc/dovecot-initd.sh	Thu Nov 19 18:25:57 2009 -0500
+++ b/doc/dovecot-initd.sh	Thu Nov 19 06:32:54 2009 +0000
@@ -1,4 +1,14 @@
 #!/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.
@@ -8,7 +18,7 @@ test -x $DAEMON || exit 1
 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


More information about the dovecot-cvs mailing list