mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Daemon::run
This commit is contained in:
parent
ebd356c7bd
commit
4b0d587fe1
3 changed files with 15 additions and 9 deletions
7
Daemon.h
7
Daemon.h
|
@ -20,6 +20,7 @@ namespace i2p
|
|||
virtual bool init(int argc, char* argv[]);
|
||||
virtual bool start();
|
||||
virtual bool stop();
|
||||
virtual void run () {};
|
||||
|
||||
bool isLogging;
|
||||
bool isDaemon;
|
||||
|
@ -61,8 +62,10 @@ namespace i2p
|
|||
return instance;
|
||||
}
|
||||
|
||||
virtual bool start();
|
||||
virtual bool stop();
|
||||
bool start();
|
||||
bool stop();
|
||||
; void run ();
|
||||
|
||||
private:
|
||||
std::string pidfile;
|
||||
int pidFH;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue