open-nomad/e2e/terraform/shared/config/nomad.service

16 lines
303 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]
Restart=on-failure
ExecStart=/usr/local/bin/nomad agent -config="/etc/nomad.d/nomad.hcl"
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGTERM
User=root
Group=root
[Install]
WantedBy=multi-user.target