diff options
author | Mattes D <github@xoft.cz> | 2015-06-02 15:05:05 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-06-02 15:05:05 +0200 |
commit | a42daecd0b9317c3e70177566757e218ccab2ef6 (patch) | |
tree | 50ccb1bb3e5c71830ca76c106ea76253df19ecf0 /MCServer | |
parent | Merge pull request #2189 from mc-server/MSVCWarningFixes (diff) | |
parent | Use the new style command line parameters for Windows Service support. (diff) | |
download | cuberite-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 'MCServer')
-rw-r--r-- | MCServer/install_windows_service.cmd | 2 |
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 |