NSSM - the Non-Sucking Service Manager for Windows.
Questions tagged [nssm]
135 questions
0
votes
0 answers
How do I host a discord bot with NSSM correctly?
I'm trying to use NSSM to host my discord bot written in Node.js on my Windows Server.
When starting it, I get this error which I couldn't figure out:
throw err;
^
Error: Cannot find module 'C:\discord'
at Function.Module._resolveFilename…

Dezaku
- 1
- 2
0
votes
0 answers
Not Able to set NSSM Service Options using ansible win_nssm module?
I wanted to create a ansible playbook for Windows Host to Install a service and set the service options using NSSM in windows and for that I tried exploring win_nssm module to find any suitable option through which I can set below service options of…

Kush
- 1
0
votes
1 answer
Amazon EC2 Windows Instance still showing nginx home page with public ip
I have created a windows amazon ec2 instance and setup a flask app on it. localhost opens the required home page. Then is used waitress-serve to host the app.py file and also created a service with nssm. After that i download and execute the…

Najeebullah Shah
- 4,164
- 4
- 35
- 49
0
votes
0 answers
How to run a powershell script as a windows service?
I have below powershell script which fires refresh command every 1 min or so. It works perfectly fine when run manually from powershell. But I am having issues running it as a service.
while (1) {
$wsh = New-Object -ComObject WScript.Shell
…

Naxi
- 1,504
- 5
- 33
- 72
0
votes
0 answers
Nodejs running as a service with nssm in windows can't access a network drive
I have a nodejs program that accesses files via fs in a network drive. When I run this program from the console everything goes fine.
When the same program runs as a service wrapped with nssm (https://nssm.cc/) it returns an error "ENOENT: no such…

Rafael Garcia
- 1
- 1
0
votes
1 answer
NSSM and log monitoring via Filebeat
I'm working on adding log analytics for a simple application. The application is a Windows Service app hosted using NSSM and logs are going to ELK stack (Elastic Search + Kibana). Unfortunately, the app does not utilize a logging framework. It logs…

Vin Shahrdar
- 1,151
- 1
- 12
- 30
0
votes
1 answer
how to run a program on start up as an administrator using NSIS and NSSM?
I am using nsis to create installer for windows and I am using NSSM to run the application.
everything is fine when I install my server , but the problem my server needs to run as admin in order to use some functionalities. I solved my problem by…

castro
- 37
- 7
0
votes
1 answer
undefined method `nssm' for cookbook
I am trying to install a jmeter service using nssm through cookbook.
but while running chef converge I am getting below error
FATAL: NoMethodError: undefined method `nssm' for cookbook: (chef-apply cookbook), recipe: (chef-apply recipe)…

Roshani
- 51
- 1
- 8
0
votes
1 answer
npm http-server as a Windows Service
I am using http-server to host one of my local folders:
http-server ./
As you can see I downloaded nssm.exe. I am wondering how I can make this http-server command as service so I can permanently host this folder even when computer restarts? One…

Borislav Stefanov
- 533
- 3
- 15
- 38
0
votes
1 answer
Making python as windows service
I have created python file which intern call PowerShell Script. I want to make this as windows service. can anyone of you help me with that. I'm trying by using NSSM. when I started running service, getting error as "PowerShell is not recognized as…

Santosh H
- 3
- 2
0
votes
1 answer
How to run a Pyinstaller compiled exe with NSSM
I used Pyinstaller to make a exe. The exe works perfectly fine but when I use NSSM to launch it on startup, the scripts runs but does nothing from the part where it is supposed to take an input from user. I also tried moving that part of code to a…

chaha0s
- 118
- 7
0
votes
1 answer
How to create service for django app with nssm on windows
nssm service to run django application.
I have created nssm service to run my django app on windows machine but it doesn't work. Please suggest an alternative package or the right config to get the service running. Here is the command I used.
Adding…

7guyo
- 3,047
- 1
- 30
- 31
0
votes
1 answer
Is it a good idea to run django management command as windows service?
Following this answer you can register a python script as a windows service with NSSM.
But are there any obvious downsides on registering a django management command as windows service this way?
nssm.exe install ProjectService
nssm.exe set…

kokoi
- 35
- 1
- 6
0
votes
1 answer
Facing error when python exe service is started after nssm
I have a situation where i have to run a python.exe as a service in NSSM. To test, I have created .exe file which has only import pandas as pd in it. I created the service in NSSM successfully. But when I start the service I get error windows could…

phoenix
- 328
- 2
- 12
0
votes
2 answers
using jodconverter from java jar wrapped in a windows service - font problem
I have been using jodconverter library for converting Microsoft Word documents (*.doc) to PDF files on the backend server. The backend is a Spring Boot application running on an old Windows Server 2008 Enterprise. (jodconverter requires a version of…

hello_earth
- 1,442
- 1
- 25
- 39