| 643 | } |
| 644 | #ifndef WIN32 |
| 645 | boost::filesystem::path GetPidFile() |
| 646 | { |
| 647 | boost::filesystem::path pathPidFile(GetArg("-pid", "luxd.pid")); |
| 648 | if (!pathPidFile.is_complete()) pathPidFile = GetDataDir() / pathPidFile; |
| 649 | return pathPidFile; |
| 650 | } |
| 651 | |
| 652 | void CreatePidFile(const boost::filesystem::path& path, pid_t pid) |
| 653 | { |
no test coverage detected