NSSM - the Non-Sucking Service Manager for Windows.
Questions tagged [nssm]
135 questions
1
vote
1 answer
How to make a executable from a NodeJS+Express app?
I have a NodeJS + Express app which I'm using as a Print Server.
I should create an executable from this web application.
So far, I added node-windows and node-mac to make my app run as a service or daemon.
Now what I need is, creating Windows…

Burak
- 5,706
- 20
- 70
- 110
1
vote
1 answer
Hold the output of a command in a variable or temp file in command line
I am running a command like
nssm.exe get MyWindowsService AppParameters
and its output is
--client-version 6.1.0
Now I want to append some text to this output like this
--client-version 6.1.0 --baseUrl helloworld.txt
And then run a new command…

Manvinder
- 4,495
- 16
- 53
- 100
1
vote
1 answer
How do you run lite-server as a Windows service?
I am trying to set up lite-server as a Windows service so that it starts automatically when the machine starts. I am trying to do this via NSSM.
I install as follows:
nssm install lite-server
Then, since I see it complaining in the…

Gigi
- 28,163
- 29
- 106
- 188
1
vote
1 answer
Solr does not find cores when started as a Windows Service
On Windows Server 2012 R2:
I'd like to run Solr as a Windows Service. But if I do so (via NSSM 2.24), the service restarts every few seconds and the Solr cores are not found (the backend says: No cores available).
This is my NSSM…
user3375118
1
vote
0 answers
Installing bat files as windows services with NSSM and controlling them
I want to use nssm (Non-Sucking Service Manager) application to be able to install bat files as windows services and then control them. (start, stop, get status etc.). Note that I placed nssm.exe into C drive.
I tested my code and it works for a…

Orkun Bekar
- 1,447
- 1
- 15
- 36
1
vote
0 answers
is it alright if Windows Service is paused but working?
I created a window service using NSSM, when I start it, it works once and displays warning:
Could not resume ListenerNodeJS Service on Local Computer. Service did
not return an error. This could be an internal Windows error or an
internal…

gabo
- 15
- 4
1
vote
0 answers
Python 2 executable as Windows Service
My application periodically checks a log file for changes. If changes are found, it updates a webpage (via websockets). If no changes are found, nothing happens.
When I run the application in the console, it works exactly as desired. I've used…

jars121
- 1,127
- 2
- 20
- 35
0
votes
0 answers
Problem while using NSSM to run a python program that calls julia code (Windows)
I am building an energy management system in python. To model the physical system I am using the PandaPower library, which has the option to perform optimization using the Julia package PowerModels.jl. The program works as expected when executing it…
0
votes
0 answers
Python script running under windows over nssm.exe
I have a python script that runs inside this command:
subprocess.run([driver, '/print:printer=' + printer, filename])
If the script is run from the command line, everything works (the script is written as a daemon, ie it never ends and waits for…

Jaroslav Zeman
- 17
- 3
0
votes
0 answers
How do I get nssm.exe log from python
So I have been manually adding the path to log.txt file that nssm.exe logs it's activity to, now I want to add the file path via python.
I tried some code but got this error:
subprocess.CalledProcessError: returned a non-zero exit status 1
Here's…

Precious Chika
- 119
- 1
- 2
- 6
0
votes
1 answer
waitress-serve is not recognized as an internal or external command using nssm
I'm using nssm to run a flask application. To run flask application I use waitress-serve. In a machine with windows 10, the service maked with nssm works well but in a machine with windows 7 (32 bits) the service doesn't work. The log says…

jose serramo
- 1
- 1
0
votes
1 answer
error 1503 while installing solr 9 with nssm
Error 1053 - Service do not respond to the start or control request in a timely fashion
I am installing solr 9.1.1 version using nssm. The path to executable was repeatedly setting to nssm.exe path. But I explicitly changed to solr.cmd path.
Now I…

SummiJ
- 1
- 4
0
votes
0 answers
How to automatically update Electron app when NSSM keeps it always running
I have an electron app with auto updater working perfectly. I'm able to release a new version and have it auto download and run the latest version. All works great. Now, I also have NSSM running to always make sure that my executable is always…

Saumil Shah
- 1,383
- 2
- 11
- 20
0
votes
0 answers
Can't open an in desktop from nodejs program when using nssm
I have a nodejs program running as background process with nssm (I build an executable and then have it be managed by nssm).
My program needs to open a desktop app when the user requests it, the program is runned fine but the problem is that it is…

Victor
- 11
- 1
0
votes
0 answers
Can I configure NSSM to run my python script from a non-elevated/admin shell?
I've installed NSSM to run some maintenance Python scripts over ODBC to QuickBooks (using QODBC Driver for QuickBooks).
NSSM site says it's running with elevated/admin privileges:
"Danger Will Robinson! nssm requires administrator access to your…

xtian
- 2,765
- 7
- 38
- 65