diff options
author | 2001-10-17 08:02:50 +0000 | |
---|---|---|
committer | 2001-10-17 08:02:50 +0000 | |
commit | 8845e75baa35d90863104e666f65009d5fb1c788 (patch) | |
tree | a931f4aa437d2d65435666b3732f9d539c48baec /net-www/apache | |
parent | typo (diff) | |
download | historical-8845e75baa35d90863104e666f65009d5fb1c788.tar.gz historical-8845e75baa35d90863104e666f65009d5fb1c788.tar.bz2 historical-8845e75baa35d90863104e666f65009d5fb1c788.zip |
spaces to tabs
Diffstat (limited to 'net-www/apache')
-rw-r--r-- | net-www/apache/files/httpd.rc6 | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/net-www/apache/files/httpd.rc6 b/net-www/apache/files/httpd.rc6 index 9201a6a712c2..672a264b4c4c 100644 --- a/net-www/apache/files/httpd.rc6 +++ b/net-www/apache/files/httpd.rc6 @@ -4,26 +4,26 @@ #HTTPD_OPTS="-D SSL -D PHP4" depend() { - need net + need net } checkconfig() { - if [ ! -e /etc/httpd/httpd.conf ] ; then - eerror "You need an /etc/httpd/httpd.conf to run apache" - eerror "There is a sample file in /usr/share/doc/apache" - return 1 - fi + if [ ! -e /etc/httpd/httpd.conf ] ; then + eerror "You need an /etc/httpd/httpd.conf to run apache" + eerror "There is a sample file in /usr/share/doc/apache" + return 1 + fi } start() { - checkconfig || return 1 - ebegin "Starting Apache" - start-stop-daemon --quiet --start --exec /usr/sbin/httpd -- $HTTPD_OPTS - eend $? + checkconfig || return 1 + ebegin "Starting apache" + start-stop-daemon --quiet --start --exec /usr/sbin/httpd -- $HTTPD_OPTS + eend $? } stop() { - ebegin "Stopping Apache" - start-stop-daemon --quiet --stop --pid /var/run/httpd.pid - eend $? + ebegin "Stopping apache" + start-stop-daemon --quiet --stop --pid /var/run/httpd.pid + eend $? } |