3 Documentation=https://nomadproject.io/docs/
4 Wants=network-online.target
5 After=network-online.target
7 # When using Nomad with Consul it is not necessary to start Consul first. These
8 # lines start Consul before Nomad as an optimization to avoid Nomad logging
9 # that Consul is unavailable at startup.
14 # Nomad server should be run as the nomad user. Nomad clients
15 # should be run as root
19 ExecReload=/bin/kill -HUP $MAINPID
20 ExecStart={{ nomad_bin_dir }}/nomad agent -config {{ nomad_config_dir }}
33 WantedBy=multi-user.target