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

Restore server state after crash/exit #50

Open
Aptimex opened this issue Aug 15, 2024 · 0 comments
Open

Restore server state after crash/exit #50

Aptimex opened this issue Aug 15, 2024 · 0 comments
Labels
planned feature Likely to get implemented in the future

Comments

@Aptimex
Copy link
Collaborator

Aptimex commented Aug 15, 2024

Any server configurations that are made after a server starts (adding client, port forwards, etc) are permanently lost when the server exits for any reason. Would be nice if many of those could be somehow remembered if the server is restarted.

Possible implementation ideas:

  • Store that data client-side, have a way to manually "refresh" all server states via API
  • Store that data in a local file on the server, probably encrypted; load at each start
  • Store that data in memory across all servers/clients; anytime a "new" server connects, see if any of the stored configs are for it (based on known public key) and push them out via the API
@Aptimex Aptimex added the planned feature Likely to get implemented in the future label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
planned feature Likely to get implemented in the future
Projects
None yet
Development

No branches or pull requests

1 participant