Skip to content

Commit

Permalink
rm pid
Browse files Browse the repository at this point in the history
  • Loading branch information
quzard committed Dec 19, 2024
1 parent b9f738c commit cf4ace1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions core/app_config/AppConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,13 +508,6 @@ std::string GetSymLinkName() {
return GetProcessExecutionDir() + "loongcollector";
}

std::vector<std::string> GetPidFileNames() {
std::vector<std::string> pidFileNames;
pidFileNames.push_back(GetProcessExecutionDir() + ILOGTAIL_PREFIX + ILOGTAIL_VERSION + ILOGTAIL_PIDFILE_SUFFIX);
pidFileNames.push_back(GetProcessExecutionDir() + "loongcollector.pid");
return pidFileNames;
}

std::string GetAgentPrefix() {
return LOONGCOLLECTOR_PREFIX;
}
Expand Down
1 change: 0 additions & 1 deletion core/app_config/AppConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ std::string GetGoPluginCheckpoint();
std::string GetAgentName();
std::string GetMonitorInfoFileName();
std::string GetSymLinkName();
std::vector<std::string> GetPidFileNames();
std::string GetAgentPrefix();

template <class T>
Expand Down

0 comments on commit cf4ace1

Please sign in to comment.