diff --git a/relay/cron/docker_service_create.sh b/relay/cron/docker_service_create.sh index 479b722a..780b9fec 100644 --- a/relay/cron/docker_service_create.sh +++ b/relay/cron/docker_service_create.sh @@ -28,7 +28,7 @@ docker service create \ --network net8 \ --constraint "node.labels.cosmosia.relay==true" \ --endpoint-mode dnsrr \ - --restart-condition none \ + --restart-condition any \ archlinux:latest \ /bin/bash -c \ "curl -s https://raw.githubusercontent.com/notional-labs/cosmosia/main/relay/cron/run.sh > ~/run.sh && /bin/bash ~/run.sh $hubname" diff --git a/relay/main/docker_service_create.sh b/relay/main/docker_service_create.sh index 8d14199b..c7e8d485 100644 --- a/relay/main/docker_service_create.sh +++ b/relay/main/docker_service_create.sh @@ -28,7 +28,7 @@ docker service create \ --network net8 \ --constraint "node.labels.cosmosia.relay==true" \ --endpoint-mode dnsrr \ - --restart-condition none \ + --restart-condition any \ archlinux:latest \ /bin/bash -c \ "curl -s https://raw.githubusercontent.com/notional-labs/cosmosia/main/relay/main/run.sh > ~/run.sh && /bin/bash ~/run.sh $hubname"