Code Review
/
csit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d0beed24b8a442dcaba18448b079aba395d3d314
[csit.git]
/
resources
/
tools
/
testbed-setup
/
ansible
/
roles
/
nomad
/
templates
/
nomad_systemd.service.j2
1
[Unit]
2
Description=nomad agent
3
Wants=network.target
4
After=nomad.service
5
6
[Service]
7
# TODO: Decrease privilege
8
User=root
9
Group=root
10
Environment="GOMAXPROCS=2"
11
ExecStart={{ nomad_bin_dir }}/nomad agent -config={{ nomad_config_dir }}
12
ExecReload=/bin/kill -9 $MAINPID
13
KillSignal=SIGTERM
14
Restart=on-failure
15
RestartSec=1
16
17
[Install]
18
WantedBy=default.target