summaryrefslogtreecommitdiff
path: root/install/centos/3/httpd-init
diff options
context:
space:
mode:
authorcvs2git <cvs2git>2006-01-05 09:34:30 +0000
committercvs2git <cvs2git>2006-01-05 09:34:30 +0000
commit0c525f3ba7b2b6730b8939b950e4d76dd16802a9 (patch)
tree9d0c5411f52238759ca3484d5ecc036dc6905414 /install/centos/3/httpd-init
parent8f5c91d6c7a8dc85a8b6768a149b4c7b3e144c38 (diff)
This commit was manufactured by cvs2svn to create tag 'SQL_LEDGER_2_4_4'.SQL_LEDGER_2_4_4
Diffstat (limited to 'install/centos/3/httpd-init')
-rw-r--r--install/centos/3/httpd-init50
1 files changed, 0 insertions, 50 deletions
diff --git a/install/centos/3/httpd-init b/install/centos/3/httpd-init
deleted file mode 100644
index dca95cfdd..000000000
--- a/install/centos/3/httpd-init
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-#
-# Startup script for the Apache Web Server
-#
-# chkconfig: - 85 15
-# description: Apache is a World Wide Web server. It is used to serve \
-# HTML files and CGI.
-# processname: httpd
-# Source function library.
-
-# Path to the apachectl script, server binary, and short-form for messages.
-apachectl=/usr/local/apache/bin/apachectl
-prog=httpd
-RETVAL=0
-
-start() {
- echo -n $"Starting $prog: "
- $apachectl startssl
- RETVAL=$?
-}
-stop() {
- echo -n $"Stopping $prog: "
- $apachectl stop
- RETVAL=$?
-}
-
-# See how we were called.
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- stop
- sleep 3
- start
- ;;
- graceful|help|configtest)
- $apachectl $@
- RETVAL=$?
- ;;
- *)
- echo $"Usage: $prog {start|stop|restart|graceful|help|configtest}"
- exit 1
-esac
-
-exit $RETVAL
-