-
-
Notifications
You must be signed in to change notification settings - Fork 17
Windows Service
Sébastien Gallou edited this page Mar 24, 2017
·
2 revisions
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
The service registration can be realized with setup installer. When installing the software, you may check "Install as a service"
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"
Yadoms -- The ultimate house automation solution