Created
August 3, 2020 03:48
-
-
Save NanoDano/9839045585064fe67ad6294a78c7aa53 to your computer and use it in GitHub Desktop.
Create Windows Service with Non-Sucking Service Manager NSSM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM http://nssm.cc | |
nssm.exe install "MyCustomService" "C:\Users\nanodano\venv\Scripts\python.exe" "C:\Users\nanodano\myscript.py" | |
nssm.exe start MyCustomService | |
nssm.exe stop MyCustomService | |
nssm.exe remove "MyCustomService" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment