summaryrefslogtreecommitdiff
path: root/Bastillefile
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-09-12 17:34:00 -0400
committer53hornet <atc@53hor.net>2021-09-12 17:34:00 -0400
commit06c8c0ba0aadf73e8ed9d5c4ace5b52b974c3b50 (patch)
tree36226807f2eac78de6f5fc4acb0d3f0b00a0f824 /Bastillefile
parentd6b256537a9efacb89b4fae5709dbb55f1934501 (diff)
downloadwww-06c8c0ba0aadf73e8ed9d5c4ace5b52b974c3b50.tar.xz
www-06c8c0ba0aadf73e8ed9d5c4ace5b52b974c3b50.zip
feat: add php cgi
Diffstat (limited to 'Bastillefile')
-rw-r--r--Bastillefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/Bastillefile b/Bastillefile
index 13ec2bd..ddba70d 100644
--- a/Bastillefile
+++ b/Bastillefile
@@ -1,10 +1,12 @@
-# Simple web server for my personal site pages
-PKG lighttpd
+# Simple web server for my web site
+
+# Prerequisites
+PKG lighttpd php74
OVERLAY usr
-OVERLAY var
-CMD fetch -o /tmp http://192.168.1.50:3000/53hornet/53hor/archive/master.tar.gz
-CMD tar -C /var -xvf /tmp/master.tar.gz --exclude drafts --exclude Makefile --exclude templates
-CMD mv /tmp/master.tar.gz /tmp/master.tar.gz.bak
+CMD mkdir -p /var/www
+FSTAB /zroot/www/htdocs /var/www nullfs ro 0 0
+
+# Start server
SYSRC lighttpd_enable=YES
-SERVICE lighttpd start
+SERVICE lighttpd restart