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