5.15. Running as a service

5.15.1. Running as a Windows service

If you wish to have the server started as a Windows service, run the install batch file in %BELTS_HOME%\bin. The service will be started automatically the next time the machine is booted or you can run net start belts to start it immediately. To remove the service, run the uninstall batch file.

Install the service:

C:\> cd %BELTS_HOME%\bin
C:\belts-1.2.0\bin> install

Start the service:

C:\belts-1.2.0\bin> net start belts

Stop the service:

C:\belts-1.2.0\bin> net stop belts

Uninstall the service:

C:\> cd %BELTS_HOME%\bin
C:\belts-1.2.0\bin> uninstall