From 47156c66f6dbd85ee13aa9fa88db8f6c347ed0d4 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Mon, 1 Feb 2021 17:53:29 -0500 Subject: updated for fetch instead of fstab --- Bastillefile | 4 ++-- usr/local/etc/lighttpd/lighttpd.conf | 2 +- 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 -- cgit v1.2.3