mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
rolled back
This commit is contained in:
parent
b66aa7408e
commit
5b53665f4f
12
i2p.cpp
12
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user