Created
July 4, 2025 19:33
-
-
Save jdloft/508d087b0fa73a57b148490e7b2c5e17 to your computer and use it in GitHub Desktop.
Install tailscale on Comma 3x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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