Answer the question
In order to leave comments, you need to log in
How to create a service to run node.js on windows?
Good day!
Guys help with the problem, I'm trying to make a service to manage node.js, but something doesn't work out for me. I
tried various manuals using nssm and the winser module, I get a service that says Unexpected status SERVICE_PAUSED in response to START control. and the service stays in "paused" status.
I tried to create a batch file, write
cd path\to\Server.js
path\to\node.exe Server.js into it,
if I run it from the terminal, everything starts, if I create a service via sc and specify binPath before the batch file, then when I start the service I get an error Error 1053 The service did not respond to the start.
Googling didn't lead to anything.
nobody faced such problems?
Answer the question
In order to leave comments, you need to log in
runasservice.sourceforge.net
https://support.microsoft.com/en-us/kb/251192
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question