use statedir instead of state

This commit is contained in:
videah committed 2023-08-29 07:54:00 +01:00
1 parent a09d07346d
commit 3e3d52e694
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ if [[ $? -eq 143 ]]; then
fi
case "$(pidof tailscaled | wc -w)" in
0) tailscaled --state=/tailscaled.state &> /tailscaled.log &
0) tailscaled --statedir=/mnt/onboard/tailscale &> /tailscaled.log &
;;
esac