summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-06-02 15:05:05 +0200
committerMattes D <github@xoft.cz>2015-06-02 15:05:05 +0200
commita42daecd0b9317c3e70177566757e218ccab2ef6 (patch)
tree50ccb1bb3e5c71830ca76c106ea76253df19ecf0 /MCServer
parentMerge pull request #2189 from mc-server/MSVCWarningFixes (diff)
parentUse the new style command line parameters for Windows Service support. (diff)
downloadcuberite-a42daecd0b9317c3e70177566757e218ccab2ef6.tar
cuberite-a42daecd0b9317c3e70177566757e218ccab2ef6.tar.gz
cuberite-a42daecd0b9317c3e70177566757e218ccab2ef6.tar.bz2
cuberite-a42daecd0b9317c3e70177566757e218ccab2ef6.tar.lz
cuberite-a42daecd0b9317c3e70177566757e218ccab2ef6.tar.xz
cuberite-a42daecd0b9317c3e70177566757e218ccab2ef6.tar.zst
cuberite-a42daecd0b9317c3e70177566757e218ccab2ef6.zip
Diffstat (limited to '')
-rw-r--r--MCServer/install_windows_service.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/MCServer/install_windows_service.cmd b/MCServer/install_windows_service.cmd
index ba8a8c128..d6b6c15a3 100644
--- a/MCServer/install_windows_service.cmd
+++ b/MCServer/install_windows_service.cmd
@@ -3,5 +3,5 @@ rem Alter this if you need to install multiple instances.
set SERVICENAME="MCServer"
set CURRENTDIR=%CD%
-sc create %SERVICENAME% binPath= "%CURRENTDIR%\MCServer.exe /service" start= auto DisplayName= %SERVICENAME%
+sc create %SERVICENAME% binPath= "%CURRENTDIR%\MCServer.exe -d" start= auto DisplayName= %SERVICENAME%
sc description %SERVICENAME% "Minecraft server instance" \ No newline at end of file