diff --git a/dist/systemd/nomad.service b/dist/systemd/nomad.service index 331d2f313..4e7a7b740 100644 --- a/dist/systemd/nomad.service +++ b/dist/systemd/nomad.service @@ -7,6 +7,8 @@ KillMode=process KillSignal=SIGINT ExecStart=/usr/bin/nomad agent -config /etc/nomad ExecReload=/bin/kill -HUP $MAINPID +Restart=on-failure +RestartSec=30 LimitNOFILE=65536 [Install]