2015-12-02 19:33:44 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Nomad
|
|
|
|
Documentation=https://nomadproject.io/docs/
|
2018-08-01 14:59:24 +00:00
|
|
|
Wants=network-online.target
|
|
|
|
After=network-online.target
|
2015-12-02 19:33:44 +00:00
|
|
|
|
|
|
|
[Service]
|
2018-01-17 06:22:32 +00:00
|
|
|
KillMode=process
|
|
|
|
KillSignal=SIGINT
|
2016-03-30 07:26:26 +00:00
|
|
|
ExecStart=/usr/bin/nomad agent -config /etc/nomad
|
2016-05-28 21:12:57 +00:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2018-08-01 14:36:52 +00:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=30
|
2016-03-30 07:26:26 +00:00
|
|
|
LimitNOFILE=65536
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|