Skip to content

Commit

Permalink
relay: auto restart
Browse files Browse the repository at this point in the history
  • Loading branch information
baabeetaa committed Jul 7, 2024
1 parent 3e7a683 commit 1083fad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion relay/cron/docker_service_create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion relay/main/docker_service_create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1083fad

Please sign in to comment.