~ knotless Search/
↑↓ move↵ open⇧↵ all results

zat.dev/zlay

atproto relay in zig · mirror of https://tangled.org/zat.dev/zlay

0
0
9 lines · 214 B Raw History
#!/bin/sh
set -eu
mkdir -p /opt/canary
for attempt in $(seq 1 1800); do
  if [ -f /opt/canary/ready ]; then exec sh /opt/canary/serve.sh; fi
  sleep 1
done
echo 'canary initialization deadline exceeded' >&2
exit 1