Skip to content

Windows Service

Sébastien Gallou edited this page Mar 24, 2017 · 2 revisions

Windows

On Windows system, yadoms can be run be executing the main executable file; but there is a way to register it as a windows service

Setup installer

The service registration can be realized with setup installer. When installing the software, you may check "Install as a service"

Manually

The service installation/uninstallation is done be command line arguments.

Here is the full list of parameters for service management:

Long param Description Default value
--install install Yadoms as a Windows Service.
--remove remove Yadoms for Windows Services
--serviceStartType When --install is specified, this option describe the service start type (2=AutoStart, 3=Manual Start, 4=Disabled) 2 (AutoStart)
--serviceAccount When --install is specified, this option describe the account the service will run as. NT AUTHORITY\LocalService
--servicePassword When --install and --serviceAccount are specified, this option describe the account the service password

When installing Yadoms as a service, all application command line parameters are kept for starting the service. i.e.:

"yadoms.exe --install --serviceStartType=2"

Clone this wiki locally