Skip to content

Commit

Permalink
Merge pull request RiANOl#2 from moonape1226/Update_Nomad_systemd_tem…
Browse files Browse the repository at this point in the history
…plate_to_v0.9.1

Update Nomad systemd template to v0.9.1
  • Loading branch information
RiANOl authored Jun 6, 2019
2 parents debf441 + c7b0fe9 commit c779fc1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions templates/nomad.systemd.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ Group=<%= scope.lookupvar('nomad::group') %>
ExecStart=<%= scope.lookupvar('nomad::bin_dir') %>/nomad agent \
-config=<%= scope.lookupvar('nomad::config_dir') %> <%= scope.lookupvar('nomad::extra_options') %>
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
KillSignal=SIGINT
RestartSec=42s
LimitNOFILE=131072
LimitNOFILE=infinity
LimitNPROC=infinity
Restart=on-failure
RestartSec=2
StartLimitBurst=3
StartLimitIntervalSec=10
TasksMax=infinity

[Install]
Expand Down

0 comments on commit c779fc1

Please sign in to comment.