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

Commit

Permalink
Merge pull request #15 from humio/grant/systemd-restart-always
Browse files Browse the repository at this point in the history
add restart always and limit to restart to systemd
  • Loading branch information
schofield authored Oct 25, 2019
2 parents ba2a2ac + 2fdcc6a commit c60d70e
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 c60d70e

Please sign in to comment.