Skip to content
Snippets Groups Projects
Unverified Commit ecdd5c53 authored by Xiaoyu Zhong's avatar Xiaoyu Zhong Committed by GitHub
Browse files

Move StartLimitInterval to [Service] section

parent b01a5fff
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,6 @@
[Unit]
Description=Prometheus Node Exporter
After=network-online.target
StartLimitInterval=0
[Service]
Type=simple
......@@ -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' %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment