-
Notifications
You must be signed in to change notification settings - Fork 113
Grott as a service (Windows)
Johan Meijer edited this page Aug 26, 2020
·
3 revisions
To enable continous Grott monitoring Grott can be runned as a standard Windows service (deamon).
I used NSSM (the Non-Sucking Service Manager) to install Grott as a service: https://nssm.cc/usage
Build used: prelease build 2.2.4-101
Runs under Windows 10 build 2004
- Download NSSM
- Unpack in the wanted directory (I used c:/nssm
- Open cmd (start cmd) windows and go the the NSSM directory: \nssm\win64
- create grott service: nssm install Grott (change with: nssm edit grott)
path: your python directory + exe
startup directory: the grott director
arguments: grott.py program with parameter
For windows service I added an outpput file to see Grott debug messages
- start/stop grott service: nssm start / stop Grott (be aware some nssm actions need s de cmd screen to be opened as admin)
- the Windows services app (start msc or service) can also be used to stop / start / disable the grott service
- remove grott service (if not wanted anymore) nssm remove Grott
Examples: