Skip to content

Instantly share code, notes, and snippets.

@ggajoch
Forked from jdloft/install-tailscale.sh
Last active August 21, 2025 19:32
Show Gist options
  • Save ggajoch/4880cc5e26e0f6c9dfc72f555556bac2 to your computer and use it in GitHub Desktop.
Save ggajoch/4880cc5e26e0f6c9dfc72f555556bac2 to your computer and use it in GitHub Desktop.
Install tailscale on Comma 3x
#!/bin/sh
mount -o remount,rw /
curl -fsSL https://tailscale.com/install.sh | sh
mkdir -p /usr/lib/systemd/system/tailscaled.service.d/
mkdir -p /data/tailscale
cat <<EOF >/usr/lib/systemd/system/tailscaled.service.d//override.conf
[Service]
ExecStart=
ExecStart=/usr/sbin/tailscaled --statedir=/data/tailscale --socket=/run/tailscale/tailscaled.sock --port=\${PORT} \$FLAGS
EOF
mount -o remount,ro /
systemctl daemon-reload
systemctl restart tailscaled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment