Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconnect when restarting Yggdrasil #2

Open
EugeneMartein opened this issue Jul 3, 2024 · 1 comment
Open

Reconnect when restarting Yggdrasil #2

EugeneMartein opened this issue Jul 3, 2024 · 1 comment

Comments

@EugeneMartein
Copy link

Please make it so that yggdrasil-jumper does not terminate if yggdrasil has been restarted, but instead waits for the admin socket to appear and reconnects. Sorry for my English.

@one-d-wide
Copy link
Owner

Can you explain why you think that the proposed behavior is better or why does it makes sense in your setup?

The current behavior of the jumper aims to make it pretty easy to reason about: it's probably fine if it still running, and it stops when it can no longer work.

The Yggdrasil router is well suited to act as a long-running daemon, so there is usually no need to stop and restart it. But if you still want to, you can just manage the jumper accordingly. For example, if you're using Systemd, try adding WantedBy, After and BindsTo directives, each listing yggdrasil.service (see systemd.unit man page), to the jumper service in order to automatically stop and restart it, after the main yggdrasil service was abruptly restarted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants