diff --git a/configuration/worker/cron b/configuration/worker/cron index e9325000ce0b3975305e80033249e96780d13a51..194cbebc1ff752314164668c1376444f3b716005 100644 --- a/configuration/worker/cron +++ b/configuration/worker/cron @@ -2,3 +2,6 @@ * * * * * crontab < /home/ubuntu/dcsg2003/configuration/worker/cron @reboot bash /home/ubuntu/dcsg2003/configuration/worker/boot.sh */10 * * * * root ntpdate -b ntp.justervesenet.no + +* * * * * cp /home/ubuntu/dcsg2003/configuration/worker/haproxy.cfg /home/ubuntu/bookface/haproxy.cfg +* * * * * cp /home/ubuntu/dcsg2003/configuration/worker/docker-compose.yml /home/ubuntu/bookface/docker-compose.yml \ No newline at end of file diff --git a/configuration/worker/haproxy.cfg b/configuration/worker/haproxy.cfg index 86707b9e252ea04f2e0f197e164502637b24007e..6e1f872a2812e1b929e87a5e7909abfeee3d559b 100644 --- a/configuration/worker/haproxy.cfg +++ b/configuration/worker/haproxy.cfg @@ -40,4 +40,4 @@ backend databases balance roundrobin server server1 192.168.134.127:26257 server server2 192.168.134.194:26257 - server server3 192.168.130.56:26257 \ No newline at end of file + server server3 192.168.130.56:26257