Skip to content

Update how-to-restart-and-debug.md #1091

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update how-to-restart-and-debug.md #1091

wants to merge 1 commit into from

Conversation

Yehonal
Copy link
Member

@Yehonal Yehonal commented Jul 5, 2025

This pull request updates the documentation in docs/how-to-restart-and-debug.md to introduce a new unified startup system for managing servers, replacing the previous restarter scripts. It simplifies server management and debugging, integrates advanced features, and enhances cross-platform support, especially for Docker environments.

Introduction of the startup-scripts Engine:

  • Replaced the old restarter scripts with the new startup-scripts engine, offering features like automatic restarts (via systemd or PM2), session management (tmux or screen), and integrated GDB debugging for crash analysis.
  • Added instructions for using the new acore.sh dashboard commands (./acore.sh run-worldserver and ./acore.sh run-authserver) to simplify server startup.

Enhanced Debugging and Crash Reporting:

  • Updated the configuration process to enable GDB for crash analysis, including generating crash reports in a dedicated directory (apps/startup-scripts/logs/crashes/).

Improved Docker Integration:

  • Integrated the startup-scripts engine with Docker, ensuring seamless debugging and automatic restarts using Docker's restart-policy feature. Provided links to Docker documentation and guides for debugging with VSCode.

@Yehonal Yehonal requested a review from Kitzunu July 5, 2025 21:54

[1]: assets/images/how-to-restart-and-debug/vscode-files-explorer.png
[2]: https://pm2.keymetrics.io/
Similar code found with 1 license type
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

??

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

Successfully merging this pull request may close these issues.

3 participants