| 693 | } |
| 694 | |
| 695 | fs::path GetPidFile() { |
| 696 | fs::path pathPidFile(SysCfg().GetArg("-pid", "coind.pid")); |
| 697 | if (!pathPidFile.is_complete()) pathPidFile = GetDataDir() / pathPidFile; |
| 698 | |
| 699 | return pathPidFile; |
| 700 | } |
| 701 | |
| 702 | #ifndef WIN32 |
| 703 | void CreatePidFile(const fs::path& path, pid_t pid) { |