Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
add restart always and limit to restart to systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
schofield committed Oct 25, 2019
1 parent ba2a2ac commit 2fdcc6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/humio@.service.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[Unit]
Description=Humio service
After=network.service
StartLimitInterval=120
StartLimitBurst=3

[Service]
Type=notify
Expand All @@ -9,6 +11,8 @@
Group=humio
LimitNOFILE=250000:250000
TimeoutStopSec=300
TimeoutSec=900
Restart=always
EnvironmentFile=/etc/humio/server_%i.conf
EnvironmentFile=/etc/humio/server_all.conf
EnvironmentFile=/etc/humio/server_user_%i.conf
Expand Down

0 comments on commit 2fdcc6a

Please sign in to comment.