New post_crash_dump_hook
Run it from crash_dump(). Useful to move core files out of the way, alert deities by e-mail, and so forth.
This commit is contained in:
parent
dd0737f8e7
commit
f63401329d
5 changed files with 7 additions and 2 deletions
|
@ -90,6 +90,8 @@ EMPCFBOTH("port", loginport, char *, NSC_STRING, KM_INTERNAL,
|
|||
"TCP port the server will bind")
|
||||
EMPCFBOTH("keep_journal", keep_journal, int, NSC_INT, KM_INTERNAL,
|
||||
"Enable journal log file")
|
||||
EMPCFBOTH("post_crash_dump_hook", post_crash_dump_hook, char *, NSC_STRING, KM_INTERNAL,
|
||||
"Shell command run right after a crash dump, in the game's data directory")
|
||||
EMPCFBOTH("privname", privname, char *, NSC_STRING, 0,
|
||||
"Name of the deity")
|
||||
EMPCFBOTH("privlog", privlog, char *, NSC_STRING, 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue