Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
feat(core): Adjust T-Rex for external topologies
[csit.git]
/
fdio.infra.ansible
/
roles
/
nomad
/
templates
/
nomad_systemd.service.j2
diff --git
a/fdio.infra.ansible/roles/nomad/templates/nomad_systemd.service.j2
b/fdio.infra.ansible/roles/nomad/templates/nomad_systemd.service.j2
index
61f07df
..
5645057
100644
(file)
--- a/
fdio.infra.ansible/roles/nomad/templates/nomad_systemd.service.j2
+++ b/
fdio.infra.ansible/roles/nomad/templates/nomad_systemd.service.j2
@@
-11,6
+11,11
@@
After=network-online.target
#After=consul.service
[Service]
#After=consul.service
[Service]
+# Nomad server should be run as the nomad user. Nomad clients
+# should be run as root
+#User=nomad
+#Group=nomad
+
ExecReload=/bin/kill -HUP $MAINPID
ExecStart={{ nomad_bin_dir }}/nomad agent -config {{ nomad_config_dir }}
KillMode=process
ExecReload=/bin/kill -HUP $MAINPID
ExecStart={{ nomad_bin_dir }}/nomad agent -config {{ nomad_config_dir }}
KillMode=process