SOURCES: courier-imap-pop3-ssl.init, courier-imap-pop3.init, couri...

glen glen at pld-linux.org
Fri Oct 7 16:33:04 CEST 2005


Author: glen                         Date: Fri Oct  7 14:33:04 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- tabs

---- Files affected:
SOURCES:
   courier-imap-pop3-ssl.init (1.1 -> 1.2) , courier-imap-pop3.init (1.15 -> 1.16) , courier-imap-ssl.init (1.1 -> 1.2) , courier-imap.init (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SOURCES/courier-imap-pop3-ssl.init
diff -u SOURCES/courier-imap-pop3-ssl.init:1.1 SOURCES/courier-imap-pop3-ssl.init:1.2
--- SOURCES/courier-imap-pop3-ssl.init:1.1	Thu Sep  1 16:37:14 2005
+++ SOURCES/courier-imap-pop3-ssl.init	Fri Oct  7 16:32:59 2005
@@ -16,56 +16,56 @@
 
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
-    if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
-	msg_network_down pop3d-ssl
-	exit 1
-    fi
+	if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
+		msg_network_down pop3d-ssl
+		exit 1
+	fi
 else
-    exit 0
+	exit 0
 fi
 
 RETVAL=0
 # See how we were called.
 case "$1" in
-    start)
-    # Check if the service is already running?
-    if [ ! -f /var/lock/subsys/courier-pop3-ssl ]; then
-	if [ -x "$COURIERTLS" -a ! -f "$TLS_CERTFILE" ]; then
-	    msg_starting "pop3d-ssl cert generation"
-	    daemon $sbindir/mkpop3dcert
+start)
+	# Check if the service is already running?
+	if [ ! -f /var/lock/subsys/courier-pop3-ssl ]; then
+		if [ -x "$COURIERTLS" -a ! -f "$TLS_CERTFILE" ]; then
+			msg_starting "pop3d-ssl cert generation"
+			daemon $sbindir/mkpop3dcert
+		fi
+		. $sysconfdir/pop3d-ssl
+		msg_starting pop3d-ssl
+		daemon $libexecdir/pop3d-ssl.rc start
+		RETVAL=$?
+		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/courier-pop3-ssl
+	else
+		msg_already_running pop3d-ssl
+	fi
+;;
+stop)
+	if [ -f /var/lock/subsys/courier-pop3-ssl ]; then
+		. $sysconfdir/pop3d-ssl
+		msg_stopping pop3d-ssl
+		daemon $libexecdir/pop3d-ssl.rc stop
+		RETVAL=$?
+		rm -f /var/lock/subsys/courier-pop3-ssl >/dev/null 2>&1
+	else
+		msg_not_running pop3d-ssl
 	fi
-	. $sysconfdir/pop3d-ssl
-	msg_starting pop3d-ssl
-	daemon $libexecdir/pop3d-ssl.rc start
-	RETVAL=$?
-	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/courier-pop3-ssl
-    else
-	msg_already_running pop3d-ssl
-    fi
-    ;;
-    stop)
-    if [ -f /var/lock/subsys/courier-pop3-ssl ]; then
-	. $sysconfdir/pop3d-ssl
-	msg_stopping pop3d-ssl
-	daemon $libexecdir/pop3d-ssl.rc stop
-	RETVAL=$?
-	rm -f /var/lock/subsys/courier-pop3-ssl >/dev/null 2>&1
-    else
-	msg_not_running pop3d-ssl
-    fi
-    ;;
-    restart|force-reload)
-    $0 stop
-    $0 start
-    exit $?
-    ;;
-    status)
-    status couriertcpd
-    exit $?
-    ;;
-    *)
-    msg_usage "$0 {start|stop|restart|force-reload|status}"
-    exit 3
+;;
+restart|force-reload)
+	$0 stop
+	$0 start
+	exit $?
+;;
+status)
+	status couriertcpd
+	exit $?
+;;
+	*)
+	msg_usage "$0 {start|stop|restart|force-reload|status}"
+	exit 3
 esac
 
 exit $RETVAL

================================================================
Index: SOURCES/courier-imap-pop3.init
diff -u SOURCES/courier-imap-pop3.init:1.15 SOURCES/courier-imap-pop3.init:1.16
--- SOURCES/courier-imap-pop3.init:1.15	Thu Sep  1 16:37:14 2005
+++ SOURCES/courier-imap-pop3.init	Fri Oct  7 16:32:59 2005
@@ -27,39 +27,39 @@
 RETVAL=0
 # See how we were called.
 case "$1" in
-  start)
+start)
 	# Check if the service is already running?
 	if [ ! -f /var/lock/subsys/courier-pop3 ]; then
-        	. $sysconfdir/pop3d
+		. $sysconfdir/pop3d
 		msg_starting pop3d
-        	daemon $libexecdir/pop3d.rc start
+		daemon $libexecdir/pop3d.rc start
 		RETVAL=$?
 		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/courier-pop3
 	else
-	    	msg_already_running pop3d
+		msg_already_running pop3d
 	fi
-        ;;
-  stop)
+;;
+stop)
 	if [ -f /var/lock/subsys/courier-pop3 ]; then
-        	. $sysconfdir/pop3d
-	    	msg_stopping pop3d
-    	    	daemon $libexecdir/pop3d.rc stop
-	    	RETVAL=$?
+		. $sysconfdir/pop3d
+		msg_stopping pop3d
+		daemon $libexecdir/pop3d.rc stop
+		RETVAL=$?
 		rm -f /var/lock/subsys/courier-pop3 >/dev/null 2>&1
 	else
-	    	msg_not_running pop3d
+		msg_not_running pop3d
 	fi
-	;;
-  restart|force-reload)
+;;
+restart|force-reload)
 	$0 stop
 	$0 start
 	exit $?
 	;;
-  status)
+status)
 	status couriertcpd
 	exit $?
 	;;
-  *)
+*)
 	msg_usage "$0 {start|stop|restart|force-reload|status}"
 	exit 3
 esac

================================================================
Index: SOURCES/courier-imap-ssl.init
diff -u SOURCES/courier-imap-ssl.init:1.1 SOURCES/courier-imap-ssl.init:1.2
--- SOURCES/courier-imap-ssl.init:1.1	Thu Sep  1 16:05:20 2005
+++ SOURCES/courier-imap-ssl.init	Fri Oct  7 16:32:59 2005
@@ -16,56 +16,56 @@
 
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
-    if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
-	msg_network_down imapd-ssl
-	exit 1
-    fi
+	if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
+		msg_network_down imapd-ssl
+		exit 1
+	fi
 else
-    exit 0
+	exit 0
 fi
 
 RETVAL=0
 # See how we were called.
 case "$1" in
-    start)
-    # Check if the service is already running?
-    if [ ! -f /var/lock/subsys/courier-imap-ssl ]; then
-	if [ -x "$COURIERTLS" -a ! -f "$TLS_CERTFILE" ]; then
-	    msg_starting "imapd-ssl cert generation"
-	    daemon $sbindir/mkimapdcert
+start)
+	# Check if the service is already running?
+	if [ ! -f /var/lock/subsys/courier-imap-ssl ]; then
+		if [ -x "$COURIERTLS" -a ! -f "$TLS_CERTFILE" ]; then
+			msg_starting "imapd-ssl cert generation"
+			daemon $sbindir/mkimapdcert
+		fi
+		. $sysconfdir/imapd-ssl
+		msg_starting imapd-ssl
+		daemon $libexecdir/imapd-ssl.rc start
+		RETVAL=$?
+		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/courier-imap-ssl
+	else
+		msg_already_running imapd-ssl
+	fi
+;;
+stop)
+	if [ -f /var/lock/subsys/courier-imap-ssl ]; then
+		. $sysconfdir/imapd-ssl
+		msg_stopping imapd-ssl
+		daemon $libexecdir/imapd-ssl.rc stop
+		RETVAL=$?
+		rm -f /var/lock/subsys/courier-imap-ssl >/dev/null 2>&1
+	else
+		msg_not_running imapd-ssl
 	fi
-	. $sysconfdir/imapd-ssl
-	msg_starting imapd-ssl
-	daemon $libexecdir/imapd-ssl.rc start
-	RETVAL=$?
-	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/courier-imap-ssl
-    else
-	msg_already_running imapd-ssl
-    fi
-    ;;
-    stop)
-    if [ -f /var/lock/subsys/courier-imap-ssl ]; then
-	. $sysconfdir/imapd-ssl
-	msg_stopping imapd-ssl
-	daemon $libexecdir/imapd-ssl.rc stop
-	RETVAL=$?
-	rm -f /var/lock/subsys/courier-imap-ssl >/dev/null 2>&1
-    else
-	msg_not_running imapd-ssl
-    fi
-    ;;
-    restart|force-reload)
-    $0 stop
-    $0 start
-    exit $?
-    ;;
-    status)
-    status couriertcpd
-    exit $?
-    ;;
-    *)
-    msg_usage "$0 {start|stop|restart|force-reload|status}"
-    exit 3
+;;
+restart|force-reload)
+	$0 stop
+	$0 start
+	exit $?
+;;
+status)
+	status couriertcpd
+	exit $?
+;;
+*)
+	msg_usage "$0 {start|stop|restart|force-reload|status}"
+	exit 3
 esac
 
 exit $RETVAL

================================================================
Index: SOURCES/courier-imap.init
diff -u SOURCES/courier-imap.init:1.19 SOURCES/courier-imap.init:1.20
--- SOURCES/courier-imap.init:1.19	Thu Sep  1 16:05:20 2005
+++ SOURCES/courier-imap.init	Fri Oct  7 16:32:59 2005
@@ -27,39 +27,39 @@
 RETVAL=0
 # See how we were called.
 case "$1" in
-  start)
+start)
 	# Check if the service is already running?
 	if [ ! -f /var/lock/subsys/courier-imap ]; then
-        	. $sysconfdir/imapd
+		. $sysconfdir/imapd
 		msg_starting imapd
-        	daemon $libexecdir/imapd.rc start
+		daemon $libexecdir/imapd.rc start
 		RETVAL=$?
 		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/courier-imap
 	else
-	    	msg_already_running imapd
+		msg_already_running imapd
 	fi
-        ;;
-  stop)
+;;
+stop)
 	if [ -f /var/lock/subsys/courier-imap ]; then
-        	. $sysconfdir/imapd
-	    	msg_stopping imapd
-    	    	daemon $libexecdir/imapd.rc stop
-	    	RETVAL=$?
+		. $sysconfdir/imapd
+		msg_stopping imapd
+		daemon $libexecdir/imapd.rc stop
+		RETVAL=$?
 		rm -f /var/lock/subsys/courier-imap >/dev/null 2>&1
 	else
-	    	msg_not_running imapd
+		msg_not_running imapd
 	fi
 	;;
-  restart|force-reload)
+restart|force-reload)
 	$0 stop
 	$0 start
 	exit $?
 	;;
-  status)
+status)
 	status couriertcpd
 	exit $?
 	;;
-  *)
+*)
 	msg_usage "$0 {start|stop|restart|force-reload|status}"
 	exit 3
 esac
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/courier-imap-pop3-ssl.init?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/SOURCES/courier-imap-pop3.init?r1=1.15&r2=1.16&f=u
    http://cvs.pld-linux.org/SOURCES/courier-imap-ssl.init?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/SOURCES/courier-imap.init?r1=1.19&r2=1.20&f=u




More information about the pld-cvs-commit mailing list