Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #170 from bittopaz/patch-1
Browse files Browse the repository at this point in the history
[fix] Move StartLimitInterval to [Service] section
  • Loading branch information
paulfantom authored Jul 21, 2020
2 parents b01a5ff + ecdd5c5 commit 95d3d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/node_exporter.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[Unit]
Description=Prometheus Node Exporter
After=network-online.target
StartLimitInterval=0

[Service]
Type=simple
Expand Down Expand Up @@ -32,6 +31,7 @@ ExecStart={{ _node_exporter_binary_install_dir }}/node_exporter \
SyslogIdentifier=node_exporter
Restart=always
RestartSec=1
StartLimitInterval=0

PrivateTmp=yes
{% for m in ansible_mounts if m.mount == '/home' %}
Expand Down

0 comments on commit 95d3d51

Please sign in to comment.