1
0
cuberite-2a/Server/install_windows_service.cmd
2015-09-05 22:01:21 +02:00

8 lines
283 B
Batchfile

rem Alter this if you need to install multiple instances.
@echo off
set SERVICENAME="Cuberite"
set CURRENTDIR=%CD%
sc create %SERVICENAME% binPath= "%CURRENTDIR%\Cuberite.exe -d" start= auto DisplayName= %SERVICENAME%
sc description %SERVICENAME% "Minecraft server instance"