i2pd/i2p.cpp
2014-06-11 12:01:13 +04:00

17 lines
315 B
C++

#include <thread>
#include <stdlib.h>
#include "Daemon.h"
int main( int argc, char* argv[] )
{
Daemon.init(argc, argv);
Daemon.start();
while (Daemon.running)
{
//TODO Meeh: Find something better to do here.
std::this_thread::sleep_for (std::chrono::seconds(1));
}
Daemon.stop();
return EXIT_SUCCESS;
}