Skip to content

Instantly share code, notes, and snippets.

@tux7k
Created December 1, 2024 19:56
Show Gist options
  • Select an option

  • Save tux7k/9b2bed9bc33ce85954a7fe8b83efaf21 to your computer and use it in GitHub Desktop.

Select an option

Save tux7k/9b2bed9bc33ce85954a7fe8b83efaf21 to your computer and use it in GitHub Desktop.
Tailscale Unit Service for NETGEAR READYNAS devices
[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