diff options
author | pmikus <peter.mikus@protonmail.ch> | 2023-08-23 11:12:50 +0000 |
---|---|---|
committer | pmikus <peter.mikus@protonmail.ch> | 2023-08-31 11:18:04 +0000 |
commit | 78298c31bbce82720af963cdb67e8997497379cc (patch) | |
tree | 414c536ac13b9f062c70b442e753932707d83cb1 /fdio.infra.ansible/roles/nomad/templates/nomad_systemd.service.j2 | |
parent | 51f2df5d4ccbe3e6513d984fce8a42b07f31874c (diff) |
feat(ansible): Nomad update
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I67563590ea44c3d59090dc66acd4ef64f8a05f45
Diffstat (limited to 'fdio.infra.ansible/roles/nomad/templates/nomad_systemd.service.j2')
-rw-r--r-- | fdio.infra.ansible/roles/nomad/templates/nomad_systemd.service.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
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 61f07df5b6..564505781b 100644 --- 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] +# 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 |