pcuenq HF staff commited on
Commit
29bf34d
1 Parent(s): 3897619

Revert hostname change

Browse files
Files changed (1) hide show
  1. startup.sh +2 -2
startup.sh CHANGED
@@ -4,8 +4,8 @@
4
  echo "Start tailscale"
5
  mkdir -p /tmp/tailscale
6
  /bin/tailscaled --tun=userspace-networking --outbound-http-proxy-listen=localhost:1055 --state=/var/lib/tailscale/tailscaled.state --socket=/var/run/tailscale/tailscaled.sock &
7
- # HOSTNAME=${SPACE_HOST#"https://"}
8
- /bin/tailscale up --authkey ${TS_AUTHKEY} --hostname=huggingface-projects-transformers-to-coreml.hf.space --accept-routes --accept-dns
9
  echo "Tailscale started"
10
  echo
11
 
 
4
  echo "Start tailscale"
5
  mkdir -p /tmp/tailscale
6
  /bin/tailscaled --tun=userspace-networking --outbound-http-proxy-listen=localhost:1055 --state=/var/lib/tailscale/tailscaled.state --socket=/var/run/tailscale/tailscaled.sock &
7
+ HOSTNAME=${SPACE_HOST#"https://"}
8
+ /bin/tailscale up --authkey ${TS_AUTHKEY} --hostname=${HOSTNAME} --accept-routes --accept-dns
9
  echo "Tailscale started"
10
  echo
11