MCPcopy Create free account
hub / github.com/Icinga/icinga2 / UpdatePidFile

Method UpdatePidFile

lib/base/application.cpp:1024–1027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1022}
1023
1024void Application::UpdatePidFile(const String& filename)
1025{
1026 UpdatePidFile(filename, Utility::GetPid());
1027}
1028
1029/**
1030 * Grabs the PID file lock and updates the PID. Terminates the application

Callers 1

RunMethod · 0.80

Calls 3

LogClass · 0.85
posix_errorClass · 0.85
CStrMethod · 0.80

Tested by

no test coverage detected