summaryrefslogtreecommitdiff
path: root/Bastillefile
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-02-03 22:39:23 -0500
committerAdam T. Carpenter <atc@53hor.net>2021-02-03 22:39:23 -0500
commitd6b256537a9efacb89b4fae5709dbb55f1934501 (patch)
treebf0e5aed3987d4b1606c94b8eb3d455cdef7c101 /Bastillefile
parent47156c66f6dbd85ee13aa9fa88db8f6c347ed0d4 (diff)
downloadwww-d6b256537a9efacb89b4fae5709dbb55f1934501.tar.xz
www-d6b256537a9efacb89b4fae5709dbb55f1934501.zip
automatic rebuilding of site if updates
Diffstat (limited to 'Bastillefile')
-rw-r--r--Bastillefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Bastillefile b/Bastillefile
index 88c7721..13ec2bd 100644
--- a/Bastillefile
+++ b/Bastillefile
@@ -1,8 +1,10 @@
# Simple web server for my personal site pages
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
+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
SYSRC lighttpd_enable=YES
SERVICE lighttpd start