Created
December 1, 2024 19:56
-
-
Save tux7k/9b2bed9bc33ce85954a7fe8b83efaf21 to your computer and use it in GitHub Desktop.
Tailscale Unit Service for NETGEAR READYNAS devices
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
| [Unit] | |
| Description=Tailscale node agent | |
| Documentation=https://tailscale.com/kb/ | |
| [Service] | |
| ExecStart=/usr/sbin/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/run/tailscale/tailscaled.sock | |
| ExecStopPost=/usr/sbin/tailscaled --cleanup | |
| Restart=on-failure | |
| RuntimeDirectory=tailscale | |
| RuntimeDirectoryMode=0755 | |
| StateDirectory=tailscale | |
| StateDirectoryMode=0700 | |
| CacheDirectory=tailscale | |
| CacheDirectoryMode=0750 | |
| Type=notify | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment