mirror of
https://github.com/jbowdre/tailscale-docker.git
synced 2024-11-22 18:12:18 +00:00
9 lines
No EOL
213 B
Bash
9 lines
No EOL
213 B
Bash
#!/bin/ash
|
|
echo "Starting TS daemon"
|
|
tailscaled --tun=userspace-networking &
|
|
PID=$!
|
|
until tailscale up --authkey=${TAILSCALE_AUTH_KEY} --hostname=complex-example; do
|
|
sleep 0.1
|
|
done
|
|
tailscale status
|
|
wait ${PID} |