Start housekeeper before services

The housekeeper needs to be initialized before services are started.
This commit is contained in:
Markus Mäkelä
2018-04-24 10:23:32 +03:00
parent a7df6b55d5
commit ce98831908
3 changed files with 17 additions and 12 deletions

View File

@ -36,7 +36,9 @@ typedef bool (*TASKFN)(void *data);
* Initialises the housekeeper mechanism.
*
* A call to any of the other housekeeper functions can be made only if
* this function returns successfully.
* this function returns successfully. This function must be called after all
* module level initialization is done but before any monitors or services are
* started.
*
* @return True if the housekeeper mechanism was initialized, false otherwise.
*/