From cf686ed1f8b249839d22f8c11f09fa7d8516d382 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Tue, 9 Feb 2021 16:38:04 -0500 Subject: fixed fetch URL --- Bastillefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bastillefile b/Bastillefile index 13ec2bd..8b8a5df 100644 --- a/Bastillefile +++ b/Bastillefile @@ -2,7 +2,7 @@ PKG lighttpd OVERLAY usr OVERLAY var -CMD fetch -o /tmp http://192.168.1.50:3000/53hornet/53hor/archive/master.tar.gz +CMD fetch -o /tmp http://git.53hor.net/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 -- cgit v1.2.3 From 94965c41505eac6337a281ca718330532cb57103 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Fri, 12 Feb 2021 16:38:01 -0500 Subject: fixed cron job URL --- Bastillefile | 2 +- usr/local/etc/lighttpd/lighttpd.conf | 1 - var/cron/tabs/www | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Bastillefile b/Bastillefile index 8b8a5df..642ea8d 100644 --- a/Bastillefile +++ b/Bastillefile @@ -2,7 +2,7 @@ PKG lighttpd OVERLAY usr OVERLAY var -CMD fetch -o /tmp http://git.53hor.net/53hornet/53hor/archive/master.tar.gz +CMD fetch -o /tmp https://git.53hor.net/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 diff --git a/usr/local/etc/lighttpd/lighttpd.conf b/usr/local/etc/lighttpd/lighttpd.conf index 658060a..76e8076 100644 --- a/usr/local/etc/lighttpd/lighttpd.conf +++ b/usr/local/etc/lighttpd/lighttpd.conf @@ -3,7 +3,6 @@ var.log_root = "/var/log/lighttpd" include "conf.d/access_log.conf" include "conf.d/dirlisting.conf" include "conf.d/mime.conf" -#include "modules.conf" index-file.names += ("index.html") server.document-root = "/var/53hor" server.errorlog = log_root + "/error.log" diff --git a/var/cron/tabs/www b/var/cron/tabs/www index e436e15..af41605 100644 --- a/var/cron/tabs/www +++ b/var/cron/tabs/www @@ -1 +1 @@ -0 */6 * * * fetch -o /tmp -i /tmp/master.tar.gz.bak http://192.168.1.50:3000/53hornet/53hor/archive/master.tar.gz && tar -C /var -xf /tmp/master.tar.gz --exclude drafts --exclude Makefile --exclude templates && mv /tmp/master.tar.gz /tmp/master.tar.gz.bak +0 */6 * * * fetch -o /tmp -i /tmp/master.tar.gz.bak https://git.53hor.net/53hornet/53hor/archive/master.tar.gz && tar -C /var -xf /tmp/master.tar.gz --exclude drafts --exclude Makefile --exclude templates && mv /tmp/master.tar.gz /tmp/master.tar.gz.bak -- cgit v1.2.3 From 5d3e9c7c2b62e5b35b1cc85d554da7632a1d12d6 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Tue, 13 Apr 2021 21:21:05 -0400 Subject: restart cron after crontab is added --- Bastillefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bastillefile b/Bastillefile index 642ea8d..ff36d82 100644 --- a/Bastillefile +++ b/Bastillefile @@ -7,4 +7,4 @@ CMD tar -C /var -xvf /tmp/master.tar.gz --exclude drafts --exclude Makefile --ex CMD mv /tmp/master.tar.gz /tmp/master.tar.gz.bak SYSRC lighttpd_enable=YES SERVICE lighttpd start - +SERVICE cron restart -- cgit v1.2.3