0

I want to run nomad agent service in windows server 2012 R2.

I used sc.exe command which looked like this:

sc.exe create nomadservice binpath="nomad.exe agent -config=C:/nomad/client.hcl"

This created a service though it isn't started. I tried increasing the timeout to 60 seconds still the service gets stuck at starting and does not acquire running mode.

Can anyone please help me with that?

Usman Maqbool
  • 3,351
  • 10
  • 31
  • 48

1 Answers1

0

I have succesfully run nomad as windows service via http://nssm.cc/

Looks like developers haven't realised this feature out of the box for windows platform.

kenoma
  • 11
  • 2