diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-02-01 17:53:29 -0500 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-02-01 17:53:29 -0500 |
commit | 47156c66f6dbd85ee13aa9fa88db8f6c347ed0d4 (patch) | |
tree | 81c88b6fd05033ae1bb84cf57010dc7a30c5045d | |
parent | 1e0862605b88acbd48f044deb49535b116600951 (diff) | |
download | www-47156c66f6dbd85ee13aa9fa88db8f6c347ed0d4.tar.xz www-47156c66f6dbd85ee13aa9fa88db8f6c347ed0d4.zip |
updated for fetch instead of fstab
-rw-r--r-- | Bastillefile | 4 | ||||
-rw-r--r-- | 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 |