-
-
Save runtimevic/4881ff0553703d62c45fef1508e93a92 to your computer and use it in GitHub Desktop.
Install nodejs as a service on windows
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
| 1) Download nssm from http://nssm.cc/download/?page=download and extract nssm.exe, for example to %windir%\system32\ | |
| 2) Install your service: | |
| nssm.exe install my-node-service c:\programs\nodejes\node.exe c:\my\server.js | |
| 3) Start it using net start: | |
| net start my-node-service | |
| (From http://blog.tatham.oddie.com.au/2011/03/16/node-js-on-windows/) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment