Skip to content

Commit

Permalink
chore: set LimitNOFILE and LimitNPROC to infinity
Browse files Browse the repository at this point in the history
  • Loading branch information
bdossantos committed Oct 28, 2019
1 parent e0da360 commit ab7b6df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/nomad_systemd.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ ExecStart={{ nomad_bin_dir }}/nomad agent -config={{ nomad_config_dir }}
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
KillSignal=SIGINT
LimitNOFILE=infinity
LimitNPROC=infinity
Restart=on-failure
RestartSec=42s

Expand Down

0 comments on commit ab7b6df

Please sign in to comment.