| 551 | |
| 552 | #ifndef WIN32 |
| 553 | boost::filesystem::path GetPidFile() |
| 554 | { |
| 555 | boost::filesystem::path pathPidFile(GetArg("-pid", "bitcoind.pid")); |
| 556 | if (!pathPidFile.is_complete()) pathPidFile = GetDataDir() / pathPidFile; |
| 557 | return pathPidFile; |
| 558 | } |
| 559 | |
| 560 | void CreatePidFile(const boost::filesystem::path &path, pid_t pid) |
| 561 | { |