alinmear / docker-conanexiles

A docker container to easily provision and manage a conanexiles dedicated server using wine
MIT License
105 stars 74 forks source link

Slave need initial redis SET update_running 1 to start #54

Open xcmb-de opened 3 years ago

xcmb-de commented 3 years ago

i have two instances running on my server and after reading the documentary i switched to a master-slave-config.

Master instance is runnig fine but slave stucks:

/bin/bash -x /usr/bin/conanexiles_controller

++ redis-cli -h redis --raw GET update_running
+ [[ '' == 1 ]]
+ sleep 10
+ true

my workaround is:

redis-cli -h redis SET update_running 1

is it possible to set this if Masterserver ist successfully started