Commit Graph

9 Commits

Author SHA1 Message Date
M S Vishwanath Bhat
543b212948 systemd unit - Do not restart if unit fails 3 times in 10s
Signed-off-by: M S Vishwanath Bhat <msvbhat@gmail.com>
2018-08-06 14:52:08 +02:00
M S Vishwanath Bhat
1fd96ebb36 systemd unit - Wait for Network to be online
This patch configures nomad to start only after the
network is up and online.

Signed-off-by: M S Vishwanath Bhat <msvbhat@gmail.com>
2018-08-02 12:17:16 +02:00
M S Vishwanath Bhat
46690698a4 systemd unit - Restart on failure
Signed-off-by: M S Vishwanath Bhat <msvbhat@gmail.com>
2018-08-02 12:17:16 +02:00
Daniel Greene
02aeb21f9a set killmode/killsignal in systemd example
The default (control-group) kill mode in systemd will kill the associated executors, leading to a commonly seen behavior of nomad client restarts losing all current allocations.

setting the KillSignal to SIGINT seems to be a reasonable default, and allows things like leave_on_interrupt to function
2018-01-16 22:22:32 -08:00
Kenneth Feng
aa244aea3f Add reload command to systemd unit file 2016-05-28 17:12:57 -04:00
Miroslav Genov
f6f0e0eecb nomad/examples: update systemd config files
The existing nomad.service is having minor configuration and this change
adds the following:
 * Install section that allows nomad to be able enabled in systemd
 * Default limit of open files is set to 65536
2016-03-30 10:26:26 +03:00
Chris Bednarski
39ebb04454 Change /usr/local/bin to /usr/bin 2015-12-03 09:27:03 -08:00
Chris Bednarski
4743ca081e Fixed some issues with the example configs; removed _common 2015-12-02 23:18:10 -08:00
Chris Bednarski
c3857795cb Basic configs and init scripts 2015-12-02 11:33:44 -08:00