Nomad agent restarts task while the network reconnected from agent to server, use raw_exec driver

I use raw_exec driver to start a .exe program let’s say a http server. when the agent lost the connection of nomad server and then reconnect the nomad server the agent will kill the .exe program and then start a new one. It is possible to prevent the restarting .exe program by configuration or change the code

Hi @jerometan2023,

I believe the max_client_disconnect job specification parameter would help you achieve what you are looking for.

jrasell and the Nomad team