I am not able to make NSSM runs a batch script with the console visible at desktop. I already tried to set it as a interactive process but still its not showing. Any idea?
Below are my commands to create the service.
nssm install "MyNginxStartup" "C:\project\nginx-1.18.0\start_nginx_server.bat"
nssm set "MyNginxStartup" DisplayName "NGINX Startup Service"
nssm set "MyNginxStartup" Description "Starts NGINX Server on Windows startup."
nssm set "MyNginxStartup" AppExit 0 Exit
nssm set "MyNginxStartup" AppExit 1 Exit
nssm set "MyNginxStartup" AppExit 2 Exit
nssm set "MyNginxStartup" Start SERVICE_DELAYED_AUTO_START
nssm set "MyNginxStartup" Type SERVICE_INTERACTIVE_PROCESS