From: Vincent Vanwaelscappel Date: Fri, 15 Sep 2023 08:28:58 +0000 (+0200) Subject: wip #6269 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d0f79f2bff972a33ec10634a62780d8e442c1ed1;p=fluidbook-hosting-loadbalancer.git wip #6269 @0.5 --- diff --git a/crontab b/crontab new file mode 100644 index 0000000..a1bfe46 --- /dev/null +++ b/crontab @@ -0,0 +1 @@ +* * * * * root docker exec -it fluidbook-hosting-loadbalancer /usr/local/bin/sync >/dev/null 2>/dev/null \ No newline at end of file diff --git a/update b/update index 824fb4d..c38b6ec 100644 --- a/update +++ b/update @@ -10,6 +10,7 @@ git fetch --all git reset --hard origin/master git stash git pull origin master +ln -sf /docker/fluidbook-hosting-loadbalancer/crontab /etc/cron.d/fluidbook-hosting-loadbalancer chmod 755 ./update chmod 755 ./ssh chmod 600 ./ssh/id_rsa diff --git a/updateall.bat b/updateall.bat index e7cc65f..1969dc5 100644 --- a/updateall.bat +++ b/updateall.bat @@ -1,2 +1,3 @@ ssh root@matrix.cubedesigners.com "/docker/fluidbook-hosting-loadbalancer/update" -ssh root@dracula.cubedesigners.com "/docker/fluidbook-hosting-loadbalancer/update" \ No newline at end of file +ssh root@dracula.cubedesigners.com "/docker/fluidbook-hosting-loadbalancer/update" +ssh root@dobermann.cubedesigners.com "/docker/fluidbook-hosting-loadbalancer/update" \ No newline at end of file