mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
systemd unit - Restart on failure
Signed-off-by: M S Vishwanath Bhat <msvbhat@gmail.com>
This commit is contained in:
2
dist/systemd/nomad.service
vendored
2
dist/systemd/nomad.service
vendored
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user