MCPcopy Create free account
hub / github.com/LUX-Core/lux / GetPidFile

Function GetPidFile

src/util.cpp:645–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643}
644#ifndef WIN32
645boost::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
652void CreatePidFile(const boost::filesystem::path& path, pid_t pid)
653{

Callers 2

PrepareShutdownFunction · 0.85
AppInit2Function · 0.85

Calls 1

GetArgFunction · 0.85

Tested by

no test coverage detected