Running as a Service (Windows)

Install the Rest Enrichment Service as a Windows Service

  1. Make sure Python has been installed ‘for all users’.

    1. If not done system users running this service will not be able to see it.

    2. Python needs to be in the system PATH

  2. Edit the ‘run.bat’ so to contain an absolute path to the ‘waitress_server.py’ file and your virtual environment.

  3. Run a command line window as an administrator.

  4. Navigate to the Rest Enrichment Service subfolder in your InsightMaker distribution.

  5. Execute: nssm install “InsightMaker Rest Enrichment Service”.

  6. Set the path to run.bat

  7. Set the start up directory to the path of the Rest Enrichment Service.

  8. Optional - Configure which user the service runs as (see point 1).

  9. Run the service and check the log file.

    • The first time the app service runs it will download a series of modules and models. If this instance does not have internet access, please reach out to your contact at Aiimi.

Last updated