summaryrefslogtreecommitdiff
path: root/www/apache/files
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-05-11 18:32:23 +0000
committertron <tron@pkgsrc.org>1999-05-11 18:32:23 +0000
commit40c91b2f8d62355ea9ad41cfc5e942f47e288b58 (patch)
tree75bafef150ad55c1e120ae51d6cb96ce02d257f1 /www/apache/files
parent27c8369fe8ea9cb839b335f6adef068045fd11f7 (diff)
downloadpkgsrc-40c91b2f8d62355ea9ad41cfc5e942f47e288b58.tar.gz
Add a standard start script for Apache.
Diffstat (limited to 'www/apache/files')
-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