fix statefile location

This commit is contained in:
Seán C McCord 2020-08-06 17:18:52 -04:00
parent 8a67567119
commit 5658b4f03c

View file

@ -4,4 +4,4 @@ if [ ! -e /dev/net/tun ]; then mknod /dev/net/tun c 10 200; fi
# Wait 5s for the daemon to start and then run tailscale up to configure
/bin/sh -c "sleep 5; tailscale up --authkey=${TAILSCALE_AUTH} -advertise-tags=${TAILSCALE_TAGS}" &
exec /usr/bin/tailscaled --state=/tailscale/tailscaled.state
exec /usr/bin/tailscaled --state=/var/lib/tailscale/tailscaled.state