From 5b53665f4f9a2e549ff7abe4162f427b7d17e0aa Mon Sep 17 00:00:00 2001 From: orignal Date: Wed, 10 Dec 2014 12:10:07 -0500 Subject: [PATCH] rolled back --- i2p.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/i2p.cpp b/i2p.cpp index 898dae07..25fe29b0 100644 --- a/i2p.cpp +++ b/i2p.cpp @@ -5,5 +5,15 @@ int main( int argc, char* argv[] ) { - i2p::data::ProcessSU3File ("/home/roman/tmp/i2pseeds.su3"); + Daemon.init(argc, argv); + if (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; }