aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/windows/service.cpp
diff options
context:
space:
mode:
authorLiam Mitchell <[email protected]>2025-03-13 17:46:06 -0700
committerGitHub Enterprise <[email protected]>2025-03-13 17:46:06 -0700
commit64f9055d3b5c445c57a0f2dacd20853667013819 (patch)
tree54cf2adb63dec15affcdb796335b472d19e06bac /src/zenserver/windows/service.cpp
parentchangelog (diff)
parentUpdate Linux service type and add libsystemd dependency (diff)
downloadzen-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.cpp8
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;
}