mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
Add fsctl command to summon reincarnation
If you start freeswitch with -reincarnate or -reincarnate-reexec, FS will restart automatically in the event of an unexpected exit. Currently, you can cause FS to immediately call exit(0) with `fsctl shutdown now`, or you can have it call abort() with `fsctl crash`. Which are both nice, but if you have reincarnation engaged, you really might want FS to call exit([non-zero]) so the great supervisor immediately breathes life back into your system. This is now available via `fsctl shutdown reincarnate now`.
This commit is contained in:
@@ -1861,6 +1861,7 @@ typedef enum {
|
||||
SCSC_DEBUG_LEVEL,
|
||||
SCSC_FLUSH_DB_HANDLES,
|
||||
SCSC_SHUTDOWN_NOW,
|
||||
SCSC_REINCARNATE_NOW,
|
||||
SCSC_CALIBRATE_CLOCK,
|
||||
SCSC_SAVE_HISTORY,
|
||||
SCSC_CRASH,
|
||||
|
||||
Reference in New Issue
Block a user