From 11d3cb218027e63135bd3f65c2e0b6a565c69913 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 17 Oct 2009 22:32:10 +0200 Subject: Added the initial version of a server monitor It launches the account and game servers and restarts them when they quit unexpectedly. When a core file is found after a server quit, a backtrace is emailed when the CRASH_REPORT_RECEIVER environment variable is set. The monitor should be terminated with the TERM signal, which makes sure the servers get some time to shutdown gracefully. --- print-backtrace.gdb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 print-backtrace.gdb (limited to 'print-backtrace.gdb') diff --git a/print-backtrace.gdb b/print-backtrace.gdb new file mode 100644 index 0000000..2f6da3b --- /dev/null +++ b/print-backtrace.gdb @@ -0,0 +1,7 @@ +echo == BACKTRACE ==\n +bt +echo == CODE AT FRAME 0 ==\n +list +echo == FULL BACKTRACE ==\n +bt full +quit -- cgit