feat(density): Delete ipsec nfv_density tests
[csit.git] / fdio.infra.ansible / roles / nomad / templates / nomad_systemd.service.j2
1 [Unit]
2 Description=Nomad
3 Documentation=https://nomadproject.io/docs/
4 Wants=network-online.target
5 After=network-online.target
6
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.
10 #Wants=consul.service
11 #After=consul.service
12
13 [Service]
14 ExecReload=/bin/kill -HUP $MAINPID
15 ExecStart={{ nomad_bin_dir }}/nomad agent -config {{ nomad_config_dir }}
16 KillMode=process
17 KillSignal=SIGINT
18 LimitNOFILE=infinity
19 LimitNPROC=infinity
20 Restart=on-failure
21 RestartSec=2
22 StartLimitBurst=3
23 StartLimitInterval=10
24 TasksMax=infinity
25 OOMScoreAdjust=-1000
26
27 [Install]
28 WantedBy=multi-user.target