mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
Changing windows service name for parity with other platforms (#2465)
This commit is contained in:
parent
7adf271570
commit
386f123e03
@ -35,7 +35,8 @@ CLI_FLAG(bool,
|
||||
false,
|
||||
"Uninstall osqueryd.exe from the Windows Service Control Manager");
|
||||
|
||||
const std::string kServiceName = "osquery daemon service";
|
||||
const std::string kServiceName = "osqueryd";
|
||||
const std::string kServiceDisplayName = "osquery daemon service";
|
||||
const std::string kWatcherWorkerName = "osqueryd: worker";
|
||||
|
||||
/// This event is set when a SERVICE_CONTROL_STOP or SERVICE_CONTROL_SHUTDOWN is
|
||||
@ -85,7 +86,7 @@ Status installService(const char* const binPath) {
|
||||
|
||||
schService = CreateService(schSCManager,
|
||||
kServiceName.c_str(),
|
||||
kServiceName.c_str(),
|
||||
kServiceDisplayName.c_str(),
|
||||
SERVICE_ALL_ACCESS,
|
||||
SERVICE_WIN32_OWN_PROCESS,
|
||||
SERVICE_AUTO_START,
|
||||
|
Loading…
Reference in New Issue
Block a user