diff options
author | jlam <jlam@pkgsrc.org> | 2000-09-20 06:08:42 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-09-20 06:08:42 +0000 |
commit | 329b962c7eb99cc5789345b48513b38a6753fd5e (patch) | |
tree | fe6172a7d720e4ef19836fef23b0c5217ffbae2b /www/apache | |
parent | 9ab26c50e757b016baab010f1848e70930d79601 (diff) | |
download | pkgsrc-329b962c7eb99cc5789345b48513b38a6753fd5e.tar.gz |
Make the rc.d control script less verbose/redundant in its messages.
Diffstat (limited to 'www/apache')
-rw-r--r-- | www/apache/files/apache.sh | 10 |
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) |