From e43d5a24bf9748fd736ccbf85b96a2ffb9c9db7b Mon Sep 17 00:00:00 2001 From: nihilist Date: Mon, 18 Mar 2024 18:02:50 +0100 Subject: [PATCH] updated invidious --- 1-Privacy-Front-Ends/invidious/crontab.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/1-Privacy-Front-Ends/invidious/crontab.txt b/1-Privacy-Front-Ends/invidious/crontab.txt index 185c768..b866340 100644 --- a/1-Privacy-Front-Ends/invidious/crontab.txt +++ b/1-Privacy-Front-Ends/invidious/crontab.txt @@ -2,7 +2,14 @@ 0 0,6,12,18 * * * docker-compose -f /srv/invidious/docker-compose.yml stop ; docker-compose -f /srv/invidious/docker-compose.yml up -d #@hourly docker-compose -f /srv/invidious/docker-compose.yml stop ; docker-compose -f /srv/invidious/docker-compose.yml up -d -@weekly docker-compose -f /srv/invidious/docker-compose.yml down --remove-orphans ; cp /srv/invidious/docker-compose.yml /srv/invidious.docker-compose.yml.backup ; git -C /srv/invidious reset --hard; git -C /srv/invidious pull ; cp /srv/invidious.docker-compose.yml.backup /srv/invidious/docker-compose.yml ; docker image prune -f ; docker-compose -f /srv/invidious/docker-compose.yml pull ;docker-compose -f /srv/invidious/docker-compose.yml up -d --build --force-recreate # monthly invidious upgrade! -@daily /usr/bin/python3 /srv/smart-ipv6-rotator/smart-ipv6-rotator.py clean ; /usr/bin/python3 /srv/smart-ipv6-rotator/smart-ipv6-rotator.py run --ipv6range="IPV6RANGE::/64" +@weekly docker-compose -f /srv/invidious/docker-compose.yml down --remove-orphans ; cp /srv/invidious/docker-compose.yml /srv/invidious.docker-compose.yml.backup ; git -C /srv/invidious reset --hard; git -C /srv/invidious pull ; cp /srv/invidious.docker-compose.yml.backup /srv/invidious/docker-compose.yml ; docker image prune -f ; docker-compose -f /srv/invidious/docker-compose.yml pull ;docker-compose -f /srv/invidious/docker-compose.yml up -d --build --force-recreate # weekly invidious upgrade! +0 0,6,12,18 * * * /usr/bin/python3 /srv/smart-ipv6-rotator/smart-ipv6-rotator.py clean ; /usr/bin/python3 /srv/smart-ipv6-rotator/smart-ipv6-rotator.py run --ipv6range="IPV6RANGE::/64" ; docker-compose -f /srv/invidious/docker-compose.yml stop ; docker-compose -f /srv/invidious/docker-compose.yml up -d +0 */1 * * * docker restart invidious_invidious_1 ; docker restart invidious_invidious_6 +1 */1 * * * docker restart invidious_invidious_2 ; docker restart invidious_invidious_7 +2 */1 * * * docker restart invidious_invidious_3 ; docker restart invidious_invidious_8 +3 */1 * * * docker restart invidious_invidious_4 ; docker restart invidious_invidious_9 +4 */1 * * * docker restart invidious_invidious_5 ; docker restart invidious_invidious_10 +5 */1 * * * docker restart invidious_invidious_6 ; docker restart invidious_invidious_11 +