Added creation and periodic update of a file called "status" in the home directory that contains peer link status. Useful for debugging and statistics. Send it SIGHUP to force an update now. Otherwise it updates every 120 seconds.

This commit is contained in:
Adam Ierymenko 2013-07-06 14:58:34 -04:00
parent 68cc5ea523
commit 7c85a638b0
7 changed files with 120 additions and 15 deletions

View file

@ -98,6 +98,12 @@ public:
void terminate()
throw();
/**
* Update the status file in the home directory on next service loop
*/
void updateStatusNow()
throw();
/**
* Get the ZeroTier version in major.minor.revision string format
*