summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjlam <jlam>2000-09-20 06:08:42 +0000
committerjlam <jlam>2000-09-20 06:08:42 +0000
commit4f5ee2ec3fe65167ca4096cc0129111a1ed1761c (patch)
treefe6172a7d720e4ef19836fef23b0c5217ffbae2b /www
parent82576b0183776231bcd578b8ad89befd1f3b2d17 (diff)
downloadpkgsrc-4f5ee2ec3fe65167ca4096cc0129111a1ed1761c.tar.gz
Make the rc.d control script less verbose/redundant in its messages.
Diffstat (limited to 'www')
-rw-r--r--www/apache/files/apache.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/www/apache/files/apache.sh b/www/apache/files/apache.sh
index 668b9532e55..c29b5047797 100644
--- a/www/apache/files/apache.sh
+++ b/www/apache/files/apache.sh
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $NetBSD: apache.sh,v 1.6 2000/09/14 02:31:04 jlam Exp $
+# $NetBSD: apache.sh,v 1.7 2000/09/20 06:08:42 jlam Exp $
#
# PROVIDE: apache
# REQUIRE: DAEMON
@@ -24,7 +24,13 @@ case ${cmd} in
start)
if [ -x ${command} -a -f ${conffile} ]; then
echo "Starting ${name}."
- ${command} ${apache_start}
+ ${command} ${apache_start} > /dev/null
+ fi
+ ;;
+stop)
+ if [ -x ${command} -a -f ${pidfile} ]; then
+ echo "Stopping ${name}."
+ ${command} stop > /dev/null
fi
;;
restart)