mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
281 B
19 lines
281 B
11 years ago
|
#include <thread>
|
||
11 years ago
|
#include <stdlib.h>
|
||
11 years ago
|
#include "Daemon.h"
|
||
11 years ago
|
|
||
11 years ago
|
int main( int argc, char* argv[] )
|
||
11 years ago
|
{
|
||
10 years ago
|
Daemon.init(argc, argv);
|
||
|
if (Daemon.start())
|
||
|
{
|
||
|
while (Daemon.running)
|
||
|
{
|
||
|
std::this_thread::sleep_for (std::chrono::seconds(1));
|
||
|
}
|
||
|
}
|
||
|
Daemon.stop();
|
||
|
return EXIT_SUCCESS;
|
||
11 years ago
|
}
|
||
9 years ago
|
|