open-nomad/dist/systemd/nomad.service

18 lines
345 B
SYSTEMD
Raw Normal View History

2015-12-02 19:33:44 +00:00
[Unit]
Description=Nomad
Documentation=https://nomadproject.io/docs/
Wants=network-online.target
After=network-online.target
2015-12-02 19:33:44 +00:00
[Service]
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]
WantedBy=multi-user.target