tailscale / tailscale-qpkg

Package Tailscale client in QPKG
MIT License
457 stars 38 forks source link

How to configure this to auto-start after reboot? #34

Closed Europa2010AD closed 2 years ago

Europa2010AD commented 2 years ago

I noticed that after rebooting my QNAP, when I tried to run the "tailscaled.sock up" command, an error returned saying the daemon isn't running. I had to go to QNAP's App Center to start the app first, and then re-issue the "tailscaled.sock up" command.

Is there any way for me to set this to auto-start after rebooting?

ivokub commented 2 years ago

I'm not aware of any configurable option for starting the application automatically during startup. On my QNAP it starts automatically without any configuration.

Btw, you usually need to run tailscale up only once to connect the instance to your Tailnet. When the instance is already connected, then tailscale should connect to already-configured network.

Europa2010AD commented 2 years ago

Ahh perhaps my application didn't start after reboot because the reboot came from a firmware update. I'll have to test it out with a regular reboot and find out.

ivokub commented 2 years ago

@Europa2010AD - did you try?