mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-17 21:26:04 +00:00
17 lines
296 B
C++
17 lines
296 B
C++
#include <thread>
|
|
|
|
#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;
|
|
}
|