Questions tagged [nssm]
NSSM - the Non-Sucking Service Manager for Windows.
nssm
145
questions
0
votes
0
answers
28
views
How to create a Windows Service to execute a JAR file automatically when the system is started?
I want to create a Windows Service to execute a JAR file Automatically when the system starts. I've tried creating it manually without using any 3rd party wrappers, but ended up lost. Guide me on how ...
0
votes
1
answer
29
views
Creating a windows script using nssm
I have a python script that continuosuly runs and sends data via socket to a server. Now i want to create a service of that script exe that users donwload the script runs as a backgroung service ...
1
vote
0
answers
51
views
Problem installing keycloak as a service using nssm
I am trying to install keycloak using nssm and have used the following commands:
nssm.exe install "Keycloak" "C:\Keycloak\keycloak-24.0.2\bin\kc.bat"
nssm.exe set "Keycloak&...
0
votes
1
answer
27
views
Process is never exited after changing booting logic to a long running task
I have a net framework server. Part of this server's boot process is to set up a bunch of static variables. At the end of the server's life we cancel tasks, dispose of various disposables, and ...
0
votes
1
answer
79
views
Unable to run the Prefect server on machine's IP address when using NSSM
I have configured Prefect server on our Windows VM so that it runs on the machine's IP address. Here's how I did it.
env\Scripts\activate.bat
(env) prefect config set PREFECT_SERVER_API_HOST='SERVER-...
0
votes
0
answers
24
views
After running some time , Python service is automatically going in paused state
I have installed a python service through NSSM, After processing files, service is automatically going in paused state. I have tried my best but having no luck.
0
votes
0
answers
52
views
OneDrive as a background service - Synchronize files when no windows user is logged in
so I am aware of the different tools to transform OneDrive (or any .exe) into a service (WinSW, NSSM, SrvStart, AlwaysUp) and using all 4 of these I managed to have OneDrive appear as a service under &...
1
vote
1
answer
49
views
Can't run test .ps1 as a service from particular directory
I have admin rights on a computer. I have one-liner .ps1 that I create as a service using nssm.exe, and when this ps1 is in C:\test, it works. (log on as local system account)
When that same .ps1 ...
0
votes
1
answer
52
views
Python NSSM commands packaged in .exe
I have an app that I built with customtkinter. It needs to configure a file and install a python script as a service. That service reads from the config file. It works when I run it from pycharm but ...
0
votes
0
answers
48
views
influxdb v2 transformed as a service
We did use nssm.exe to transform our existing influx database into a database running 24/24.
Since we did that, we encounter the following issue.
At first start of the service, influx as started as if ...
0
votes
0
answers
96
views
Run a typescript project as a windows service
I have a typescript project that I want to run as a service on a machine, and to be able to distribute it on any machine without needing an installation of npm / node on the target machine. I am ...
0
votes
0
answers
22
views
What signal receives a python program converted into an .exe (with auto_py_to_exe) from NSSM stop service command? Windows O.S
I have this python program:
import logging
import time
import signal
import sys
class ClarkeTest:
def __init__(self):
# Configure logging
logging.basicConfig(filename='...
0
votes
1
answer
63
views
Flask app running through NSSM - Can't access images
I've created a flask app that gets userinformation from a local DB (that fetches data from AD).
When I run this local on my PC or on a server : "python app.py", everything works.
When I ...
0
votes
0
answers
75
views
NSSM - wrong time in log file
I'm using NSSM to start my application, all fine.
But the logging timestamp in the file is exact one hour behind my system time like
2024-01-15 08:32:03.770: but it's already 2024-01-15 09:32:03 at my ...
0
votes
0
answers
36
views
start a windows service on a python script that has a space in its name, using NSSM
So I am wondering why this doesn't work....
My issue is as title says. I have a python script, when I run it as is via windows service, it works, but if I take this same script with a space in it, ...