Skip to content

Commit

Permalink
Added several new commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephb9959 committed May 20, 2021
1 parent dff33d3 commit 73eed59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
@@ -1 +1 @@
61
62
13 changes: 4 additions & 9 deletions src/uCentral.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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();

Expand Down

0 comments on commit 73eed59

Please sign in to comment.