# NSSM
install it from choco
install service
nssm install <service_name>
it would appear gui to do the config remembet to setup the log directory
edit service
nssm edit <service_name>
status and restart service
nssm status <service_name>
nssm restart <service_name>
start windows service manager
services.msc
skip graceful shutdown
nssm set <service_name> AppStopMethodSkip 6
get service PID then kill it
Get-WmiObject Win32_Service -Filter "Name='<service_name>'" | Select-Object ProcessId
Stop-Process -Id <service_pid> -Force
should check the process like
nssmand the exe registered