Skip to content

Instantly share code, notes, and snippets.

@jdloft
Created July 4, 2025 19:33
Show Gist options
  • Save jdloft/508d087b0fa73a57b148490e7b2c5e17 to your computer and use it in GitHub Desktop.
Save jdloft/508d087b0fa73a57b148490e7b2c5e17 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 /etc/systemd/system/tailscaled.service.d
mkdir -p /data/tailscale
cat <<EOF >/etc/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