github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/e2e/terraform/shared/nomad/nomad.service (about) 1 [Unit] 2 Description=Nomad Agent 3 Requires=network-online.target 4 After=network-online.target 5 6 [Service] 7 ExecReload=/bin/kill -HUP $MAINPID 8 ExecStart=/usr/local/bin/nomad agent -config /etc/nomad.d 9 KillMode=process 10 KillSignal=SIGINT 11 LimitNOFILE=65536 12 LimitNPROC=infinity 13 TasksMax=infinity 14 Restart=on-failure 15 RestartSec=2 16 17 # systemd>=230 prefer StartLimitIntervalSec,StartLimitBurst in Unit, 18 # however Ubuntu 16.04 only has systemd==229. Use these old style settings 19 # as they will be supported by newer systemds. 20 StartLimitBurst=3 21 StartLimitInterval=10 22 23 [Install] 24 WantedBy=multi-user.target