e2e: fix nomad service for systemd<230

This commit is contained in:
Michael Schurter 2019-05-07 20:26:04 -07:00
parent 20638e7119
commit 2b7f398726

View file

@ -10,11 +10,15 @@ KillMode=process
KillSignal=SIGINT KillSignal=SIGINT
LimitNOFILE=infinity LimitNOFILE=infinity
LimitNPROC=infinity LimitNPROC=infinity
TasksMax=infinity
Restart=on-failure Restart=on-failure
RestartSec=2 RestartSec=2
# systemd>=230 prefer StartLimitIntervalSec,StartLimitBurst in Unit,
# however Ubuntu 16.04 only has systemd==229. Use these old style settings
# as they will be supported by newer systemds.
StartLimitBurst=3 StartLimitBurst=3
StartLimitIntervalSec=10 StartLimitInterval=10
TasksMax=infinity
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target