mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00: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[] )
|
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…
x
Reference in New Issue
Block a user