Commit Graph

57 Commits

Author SHA1 Message Date
A.J. Beamon 9d83501800 fdbmonitor now deconfigures processes when the config file is deleted. Depending on the specified settings, running processes may or may not be killed in that case. If they are not killed, then they are rejoined with the config if it reappears.
In this implementation, the deletion or moving of a parent directory does not trigger an immediate reload of the configuration, but the change will be detected the next time the configuration is reloaded for other reasons.
2017-11-30 13:57:05 -08:00
A.J. Beamon 5e984a366a Updates to fdbmonitor logging so that each line contains a timestamp, severity, logGroup, and process (e.g. fdbmonitor or fdbserver.4689, etc.). Remove usages of perror. 2017-10-31 11:07:06 -07:00
A.J. Beamon c1bc355306 Add support for retrying a process if fork fails. The HUP signal now causes configuration to be reloaded and timeouts to be reset. A little refactoring to make this easier. 2017-10-05 08:23:52 -07:00
Stephen Atherton cfb0cc4c3b Merge branch 'release-5.0' 2017-09-26 22:13:23 -07:00
Stephen Atherton 333fb65a91 FDBMonitor now supports “flag_X=<true/false>” in all sections, with the usual inheritance, in order to enable (true) or disable (false) the passing of a parameterless command line named X as “—X”. 2017-09-26 22:13:01 -07:00
John King 28c843ed56 replace wd40 references from fdbmonitor with command to unset environment variables 2017-07-19 15:38:29 -07:00
FDB Dev Team a674cb4ef4 Initial repository commit 2017-05-25 13:48:44 -07:00