Last active
September 21, 2025 18:05
-
-
Save 1eedaegon/875a34b5d2e750f0ed05cb0a669eae70 to your computer and use it in GitHub Desktop.
tailscaled.serivce
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/ | |
| Wants=network-pre.target | |
| After=network-pre.target NetworkManager.service systemd-resolved.service | |
| ###### REPLACE $HOME -> Your home | |
| [Service] | |
| ExecStartPre=$HOME/.nix-profile/bin/tailscaled --cleanup | |
| ExecStart=$HOME/.nix-profile/bin/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/run/tailscale/tailscaled.sock $FLAGS | |
| ExecStopPost=$HOME/.nix-profile/bin/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