summaryrefslogtreecommitdiff
path: root/www/apache6/files/apache.sh
blob: 8c09bea64c31164aa1fa66e8823056fdff1de423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# $NetBSD: apache.sh,v 1.2 2000/07/10 12:22:30 hubertf Exp $
#

CMD=${1:-start}

if [ -x @PREFIX@/sbin/httpd -a -f @PREFIX@/etc/httpd/httpd.conf ]
then
 @PREFIX@/sbin/apachectl $CMD >/dev/null
 echo -n ' apache'
fi
exit 0