open-nomad/e2e/terraform/packer/ubuntu-bionic-amd64/nomad.service

22 lines
399 B
SYSTEMD
Raw Normal View History

2018-12-17 17:40:09 +00:00
[Unit]
Description=Nomad Agent
Requires=network-online.target
After=network-online.target
[Service]
ExecReload=/bin/kill -HUP $MAINPID
ExecStart=/usr/local/bin/nomad agent -config /etc/nomad.d
KillMode=process
KillSignal=SIGINT
LimitNOFILE=65536
LimitNPROC=infinity
2019-05-08 03:26:04 +00:00
TasksMax=infinity
Restart=on-failure
RestartSec=2
StartLimitIntervalSec=10
StartLimitBurst=3
2018-12-17 17:40:09 +00:00
[Install]
WantedBy=multi-user.target