[Unit]
Description = nomad
After = network.target
[Service]
Type = simple
User = nomad
ExecStart = /usr/bin/nomad agent -data-dir=/var/nomad -config=/etc/nomad
Restart = on-failure
[Install]
WantedBy = multi-user.target