1

hoping you can help me! I'm writing a script to install some services in windows. One of the services is InfluxDB. I need to use NSSM.

But that's the problem. If I use the nssm gui nssm.exe install and then set those parameters like following (and nothing else)

enter image description here

enter image description here

I'm able to run and connec to to instance

BUT

I need to install it from a .bat so I wrote few lines that run C:\nssm-2.24\nssm.exe install InfluxDB C:\influxdb-1.8.3-1\influxd.exe Start SERVICE_AUTO_START. It creates the service, but if I try to run it I get

enter image description here

and service goes to Paused state

I'm missing something?

Michele Ietri
  • 184
  • 1
  • 4
  • 16

0 Answers0