mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-15 02:40:35 +00:00
remove pidfile on shutdown
This commit is contained in:
@@ -148,7 +148,7 @@ namespace i2p
|
||||
|
||||
// Pidfile
|
||||
// this code is c-styled and a bit ugly, but we need fd for locking pidfile
|
||||
std::string pidfile; i2p::config::GetOption("pidfile", pidfile);
|
||||
i2p::config::GetOption("pidfile", pidfile);
|
||||
if (pidfile == "") {
|
||||
pidfile = i2p::fs::DataDirPath("i2pd.pid");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user