summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-02-01 17:53:29 -0500
committerAdam T. Carpenter <atc@53hor.net>2021-02-01 17:53:29 -0500
commit47156c66f6dbd85ee13aa9fa88db8f6c347ed0d4 (patch)
tree81c88b6fd05033ae1bb84cf57010dc7a30c5045d
parent1e0862605b88acbd48f044deb49535b116600951 (diff)
downloadwww-47156c66f6dbd85ee13aa9fa88db8f6c347ed0d4.tar.xz
www-47156c66f6dbd85ee13aa9fa88db8f6c347ed0d4.zip
updated for fetch instead of fstab
-rw-r--r--Bastillefile4
-rw-r--r--usr/local/etc/lighttpd/lighttpd.conf2
2 files changed, 3 insertions, 3 deletions
diff --git a/Bastillefile b/Bastillefile
index f9e3baa..88c7721 100644
--- a/Bastillefile
+++ b/Bastillefile
@@ -1,8 +1,8 @@
# Simple web server for my personal site pages
-CMD mkdir -p /var/www && echo Created /var/www
-FSTAB /zroot/www /var/www nullfs ro 0 0
PKG lighttpd
OVERLAY usr
+CMD fetch -mo /tmp http://192.168.1.50:3000/53hornet/53hor/archive/master.tar.gz
+CMD tar -C /var -xzvf /tmp/master.tar.gz --exclude drafts --exclude Makefile --exclude templates
SYSRC lighttpd_enable=YES
SERVICE lighttpd start
diff --git a/usr/local/etc/lighttpd/lighttpd.conf b/usr/local/etc/lighttpd/lighttpd.conf
index 0161d98..658060a 100644
--- a/usr/local/etc/lighttpd/lighttpd.conf
+++ b/usr/local/etc/lighttpd/lighttpd.conf
@@ -5,7 +5,7 @@ include "conf.d/dirlisting.conf"
include "conf.d/mime.conf"
#include "modules.conf"
index-file.names += ("index.html")
-server.document-root = "/var/www"
+server.document-root = "/var/53hor"
server.errorlog = log_root + "/error.log"
server.network-backend = "sendfile"
server.port = 80