Last active
April 11, 2018 16:49
-
-
Save PaulBradley/a15a5affeabcaa695e39b798cfbf08d2 to your computer and use it in GitHub Desktop.
Install Go web application as a Windows Service - using the Non-Sucking Service Manager (https://nssm.cc) #golang
This file contains 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
@echo off | |
nssm install toucan c:\toucan\toucan.exe | |
nssm set toucan Description "Toucan Extensions" | |
nssm set toucan Start SERVICE_AUTO_START | |
nssm start toucan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment