af4622ac44
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
14 lines
256 B
Desktop File
14 lines
256 B
Desktop File
[Unit]
|
|
Description=Nomad
|
|
Documentation=https://nomadproject.io/docs/
|
|
|
|
[Service]
|
|
KillMode=process
|
|
KillSignal=SIGINT
|
|
ExecStart=/usr/bin/nomad agent -config /etc/nomad
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
LimitNOFILE=65536
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|