From d6b256537a9efacb89b4fae5709dbb55f1934501 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Wed, 3 Feb 2021 22:39:23 -0500 Subject: automatic rebuilding of site if updates --- Bastillefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Bastillefile') 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 -- cgit v1.2.3