diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-02-12 16:38:01 -0500 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-02-12 16:38:01 -0500 |
commit | 94965c41505eac6337a281ca718330532cb57103 (patch) | |
tree | 0d75914eb16074b9a180c89b94c03c49c90e862f | |
parent | cf686ed1f8b249839d22f8c11f09fa7d8516d382 (diff) | |
download | www-94965c41505eac6337a281ca718330532cb57103.tar.xz www-94965c41505eac6337a281ca718330532cb57103.zip |
fixed cron job URL
-rw-r--r-- | Bastillefile | 2 | ||||
-rw-r--r-- | usr/local/etc/lighttpd/lighttpd.conf | 1 | ||||
-rw-r--r-- | 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 |