Process monitors itself, restarts if it faults, preserves logs

and cores. Rate-limiting for safety.
This commit is contained in:
JoelKatz
2013-03-20 06:33:29 -07:00
parent 0e34de512e
commit c5429032ed
4 changed files with 88 additions and 0 deletions

View File

@@ -288,6 +288,10 @@ bool parseUrl(const std::string& strUrl, std::string& strScheme, std::string& st
extern void NameThread(const char *);
extern bool HaveSustain();
extern std::string StopSustain();
extern std::string DoSustain();
#if (!defined(FORCE_NO_C11X) && (__cplusplus > 201100L)) || defined(FORCE_C11X)
#define C11X