mirror of
https://github.com/unraid/webgui.git
synced 2026-04-30 06:49:24 -05:00
Add support to Tailscale for fallback TS Dir
This commit is contained in:
@@ -146,6 +146,8 @@ elif [ -d "/config" ]; then
|
||||
TSD_STATE_DIR="/config/.tailscale_state"
|
||||
elif [ -d "/data" ]; then
|
||||
TSD_STATE_DIR="/data/.tailscale_state"
|
||||
elif [ ! -z "${TAILSCALE_FALLBACK_DIR}" ]; then
|
||||
TSD_STATE_DIR="${TAILSCALE_FALLBACK_DIR}/.tailscale_state"
|
||||
else
|
||||
echo "ERROR: Couldn't detect persistent Docker directory for .tailscale_state!"
|
||||
echo " Please enable Tailscale Advanced Settings in the Docker template and set the Tailscale State Directory manually!"
|
||||
|
||||
Reference in New Issue
Block a user