]> git.pld-linux.org Git - packages/courier-imap.git/blobdiff - courier-imap-ssl.init
- service name caps unified
[packages/courier-imap.git] / courier-imap-ssl.init
index f9427c94008247dee651ccce8bae46a165813fcf..e05bcccdf88d97b0d8169541ab7de6343709c902 100644 (file)
@@ -14,6 +14,9 @@ sbindir=@sbindir@
 # Get network config
 . /etc/sysconfig/network
 
+# Get service config
+[ -f /etc/sysconfig/courier-imap-ssl ] && . /etc/sysconfig/courier-imap-ssl
+
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
        if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
@@ -41,7 +44,7 @@ start)
        else
                msg_already_running imapd-ssl
        fi
-;;
+       ;;
 stop)
        if [ -f /var/lock/subsys/courier-imap-ssl ]; then
                msg_stopping "Courier IMAP SSL"
@@ -51,17 +54,17 @@ stop)
        else
                msg_not_running "Courier IMAP SSL"
        fi
-;;
+       ;;
 restart|force-reload)
        $0 stop
        $0 start
        exit $?
-;;
+       ;;
 status)
        # FIXME: matches other services, like courier-imap
        status couriertcpd
        exit $?
-;;
+       ;;
 *)
        msg_usage "$0 {start|stop|restart|force-reload|status}"
        exit 3
This page took 0.081281 seconds and 4 git commands to generate.