mirror of
https://github.com/jbowdre/tailscale-docker.git
synced 2024-11-22 10:02:18 +00:00
shorten env var names
This commit is contained in:
parent
c6f8d75b5e
commit
fdd8ef5456
1 changed files with 3 additions and 3 deletions
|
@ -2,9 +2,9 @@
|
||||||
trap 'kill -TERM $PID' TERM INT
|
trap 'kill -TERM $PID' TERM INT
|
||||||
echo "Starting Tailscale daemon"
|
echo "Starting Tailscale daemon"
|
||||||
# -state=mem: will logout and remove ephemeral node from network immediately after ending.
|
# -state=mem: will logout and remove ephemeral node from network immediately after ending.
|
||||||
tailscaled --tun=userspace-networking --state=${TAILSCALE_STATE_ARG} ${TAILSCALE_OPT} &
|
tailscaled --tun=userspace-networking --state=${TS_STATE_ARG} ${TS_OPT} &
|
||||||
PID=$!
|
PID=$!
|
||||||
until tailscale up --authkey="${TAILSCALE_AUTH_KEY}" --hostname="${TAILSCALE_HOSTNAME}"; do
|
until tailscale up --authkey="${TS_AUTH_KEY}" --hostname="${TS_HOSTNAME}"; do
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
done
|
done
|
||||||
tailscale status
|
tailscale status
|
||||||
|
|
Loading…
Reference in a new issue