Run Nomad agent as service in Windows server 2012

Unable to run nomad agent as service in Windows .Is there any documentation available on this topic?

Nomad does not currently have native support for Windows Services Control Manager messages or allow logging to a destination other than stdout/stderr. As I understand it, there is discussion about enabling this within Nomad natively; however, it is not yet pinned to a specific upcoming release.

If you would like to daemonize Nomad on Windows, you can use an enabling application like NSSM or srvany. I personally have had good success with NSSM. You can also roll-your-own using Powershell scripting to handle the start and log redirection.

Hopefully this helps to get you unblocked!

Charlie Voiselle

1 Like