diff options
| author | Liam Mitchell <[email protected]> | 2025-03-13 17:46:06 -0700 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-03-13 17:46:06 -0700 |
| commit | 64f9055d3b5c445c57a0f2dacd20853667013819 (patch) | |
| tree | 54cf2adb63dec15affcdb796335b472d19e06bac /src/zenserver/windows/service.cpp | |
| parent | changelog (diff) | |
| parent | Update Linux service type and add libsystemd dependency (diff) | |
| download | zen-64f9055d3b5c445c57a0f2dacd20853667013819.tar.xz zen-64f9055d3b5c445c57a0f2dacd20853667013819.zip | |
Merge pull request #288 from ue-foundation/lm/zen-service-command
Implementation of service commands for Linux.
Diffstat (limited to 'src/zenserver/windows/service.cpp')
| -rw-r--r-- | src/zenserver/windows/service.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/zenserver/windows/service.cpp b/src/zenserver/windows/service.cpp index cb87df1f6..4be5e6205 100644 --- a/src/zenserver/windows/service.cpp +++ b/src/zenserver/windows/service.cpp @@ -21,7 +21,6 @@ HANDLE ghSvcStopEvent = NULL; void SvcInstall(void); -void ReportSvcStatus(DWORD, DWORD, DWORD); void SvcReportEvent(LPTSTR); WindowsService::WindowsService() @@ -222,14 +221,7 @@ WindowsService::SvcMain() return 1; } - // Report running status when initialization is complete. - - ReportSvcStatus(SERVICE_RUNNING, NO_ERROR, 0); - int ReturnCode = Run(); - - ReportSvcStatus(SERVICE_STOPPED, NO_ERROR, 0); - return ReturnCode; } |