Windows (NSSM) execution
Running the Gateway service on a Windows machine requires some middleware to create a service-compatible wrapper around the Python code that's going to be executed. One of the more popular and stable middleware options is the Non-Sucking Service Manager (NSSM). NSSM provides a GUI for creating, installing, and managing services that are written in a variety of languages—in general, if a program can be run from a command line, NSSM can almost certainly get it running as a Windows service.
NSSM may need to be run with administrative privileges, but in any event, is launched from the command line—C:\path\to\nssm.exe install launches the GUI, and all of the settings needed are present under one of the tabs. The application ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access