summaryrefslogtreecommitdiff
path: root/www/apache/files/apache.sh
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache/files/apache.sh')
-rw-r--r--www/apache/files/apache.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/apache/files/apache.sh b/www/apache/files/apache.sh
new file mode 100644
index 00000000000..bd86c1711ce
--- /dev/null
+++ b/www/apache/files/apache.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# $NetBSD: apache.sh,v 1.1 1999/05/11 18:32:24 tron Exp $
+#
+if [ -x @PREFIX@/sbin/httpd -a -f @PREFIX@/etc/httpd/httpd.conf ]
+then
+ @PREFIX@/sbin/apachectl start
+ echo -n ' apache'
+fi
+exit 0