Red Hat Enterprise Linux 5 5.3 Release Notes - Red Hat Customer ...
Red Hat Enterprise Linux 5 5.3 Release Notes - Red Hat Customer ...
Red Hat Enterprise Linux 5 5.3 Release Notes - Red Hat Customer ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
176 Inhaltsverzeichnis<br />
+ [ "${SECURE_NFS}" != "yes" ] && exit 6<br />
+<br />
rm -f $LOCKFILE<br />
+ echo -n $"Starting RPC gssd: "<br />
- echo -n $"Starting RPC gssd: "<br />
+ # List of kernel modules to load<br />
+ [ -z "${SECURE_NFS_MODS}" ] && SECURE_NFS_MODS="des rpcsec_gss_krb5"<br />
# Make sure the rpc_pipefs filesystem is available<br />
[ "${RPCMTAB}" != "noload" ] && {<br />
dovecot-1.0.7-2.el5.i386.rpm: /etc/rc.d/init.d/dovecot<br />
---<br />
+++<br />
@@ -7,27 +7,61 @@<br />
# chkconfig: - 65 35<br />
# description: Dovecot Imap Server<br />
# processname: dovecot<br />
+# config: /etc/dovecot.conf<br />
+# config: /etc/sysconfig/dovecot<br />
+# pidfile: /var/run/dovecot/master.pid<br />
+<br />
+### BEGIN INIT INFO<br />
+# Provides: dovecot<br />
+# Required-Start: $local_fs $network<br />
+# Required-Stop: $local_fs $network<br />
+# Should-Start: $remote_fs<br />
+# Should-Stop: $remote_fs<br />
+# Default-Start:<br />
+# Default-Stop: 0 1 2 3 4 5 6<br />
+# Short-Description: start and stop Dovecot Imap server<br />
+# Description: Dovecot is an IMAP server for <strong>Linux</strong>/UNIX-like systems,<br />
+# written with security primarily in mind. It also contains<br />
+# a small POP3 server.<br />
+### END INIT INFO<br />
+<br />
# Source function library.<br />
. /etc/init.d/functions<br />
-test -x /usr/sbin/dovecot || exit 0<br />
+if [ -f /etc/sysconfig/dovecot ]; then<br />
+ . /etc/sysconfig/dovecot<br />
+fi<br />
RETVAL=0<br />
prog="Dovecot Imap"<br />
+exec="/usr/sbin/dovecot"<br />
+config="/etc/dovecot.conf"<br />
+pidfile="/var/run/dovecot/master.pid"<br />
+lockfile="/var/lock/subsys/dovecot"<br />
start() {<br />
+ [ -x $exec ] || exit 5<br />
+ [ -f $config ] || exit 6<br />
+<br />
echo -n $"Starting $prog: "<br />
- daemon /usr/sbin/dovecot<br />
+ daemon --pidfile $pidfile $exec $OPTIONS<br />
RETVAL=$?<br />
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dovecot<br />
+ [ $RETVAL -eq 0 ] && touch $lockfile<br />
echo<br />
}<br />
stop() {