Skip to content
Snippets Groups Projects
Unverified Commit 95d3d516 authored by Paweł Krupa's avatar Paweł Krupa Committed by GitHub
Browse files

Merge pull request #170 from bittopaz/patch-1

[fix] Move StartLimitInterval to [Service] section
parents b01a5fff ecdd5c53
Branches
Tags
No related merge requests found
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
[Unit] [Unit]
Description=Prometheus Node Exporter Description=Prometheus Node Exporter
After=network-online.target After=network-online.target
StartLimitInterval=0
[Service] [Service]
Type=simple Type=simple
...@@ -32,6 +31,7 @@ ExecStart={{ _node_exporter_binary_install_dir }}/node_exporter \ ...@@ -32,6 +31,7 @@ ExecStart={{ _node_exporter_binary_install_dir }}/node_exporter \
SyslogIdentifier=node_exporter SyslogIdentifier=node_exporter
Restart=always Restart=always
RestartSec=1 RestartSec=1
StartLimitInterval=0
PrivateTmp=yes PrivateTmp=yes
{% for m in ansible_mounts if m.mount == '/home' %} {% for m in ansible_mounts if m.mount == '/home' %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment