-
-
Save ggajoch/4880cc5e26e0f6c9dfc72f555556bac2 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 /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