feat(ansible): Nomad update
[csit.git] / fdio.infra.ansible / roles / nomad / templates / nomad_systemd.service.j2
index 61f07df..5645057 100644 (file)
@@ -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