Added several new commands.

This commit is contained in:
stephb9959
2021-05-20 14:06:40 -07:00
parent dff33d3eb5
commit 73eed5988a
2 changed files with 5 additions and 10 deletions

2
build
View File

@@ -1 +1 @@
61
62

View File

@@ -295,11 +295,6 @@ namespace uCentral {
Poco::Logger &logger = Poco::Logger::get("uCentral");
logger.notice(Poco::format("Starting uCentral version %s.",Version()));
if (config().getBool("application.runAsDaemon", false))
{
logger.information("Starting as a daemon.");
}
uCentral::Storage::Start();
uCentral::Auth::Start();
uCentral::DeviceRegistry::Start();
@@ -317,10 +312,10 @@ namespace uCentral {
else
logger.information("System does NOT support IPv6.");
std::string T{"2021-05-18T21:31:39.000Z"};
uint64_t TT = uCentral::Utils::from_RFC3339(T);
//std::cout << "Time:" << TT << " now " << time(nullptr) << std::endl;
if (config().getBool("application.runAsDaemon", false))
{
logger.information("Starting as a daemon.");
}
instance()->waitForTerminationRequest();