aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/snmp/files/gondul-snmp.service
diff options
context:
space:
mode:
authorLasse Haugen <haugen.lasse@gmail.com>2019-02-13 22:38:48 +0100
committerGitHub <noreply@github.com>2019-02-13 22:38:48 +0100
commit1bb5fc0f3312be948d3aefaf7ab0a28fe722a656 (patch)
tree4899dd2abfb4258d18320ac5ce61c75caa187a13 /ansible/roles/snmp/files/gondul-snmp.service
parentd2b78315de847fd7bd22c4112908414ab7eb7967 (diff)
parent65be318e53ceb6f5e6022e24fd585930f4477dda (diff)
Merge pull request #201 from slinderud/master
#159 Fixed templating install, included updated varnish config, updated installing.rst and clean-up on servicefiles
Diffstat (limited to 'ansible/roles/snmp/files/gondul-snmp.service')
-rw-r--r--ansible/roles/snmp/files/gondul-snmp.service10
1 files changed, 4 insertions, 6 deletions
diff --git a/ansible/roles/snmp/files/gondul-snmp.service b/ansible/roles/snmp/files/gondul-snmp.service
index e5f2179..d7bd134 100644
--- a/ansible/roles/snmp/files/gondul-snmp.service
+++ b/ansible/roles/snmp/files/gondul-snmp.service
@@ -1,14 +1,12 @@
[Unit]
Description=Gondul snmp collector
-Documentation=http://google.com
-After=network.target
+Documentation=https://github.com/gathering/gondul
+After=network-online.target
[Service]
ExecStart=/opt/gondul/collectors/snmpfetchng.pl
-MountFlags=slave
-LimitNOFILE=1048576
-LimitNPROC=1048576
-LimitCORE=infinity
+ExecReload=/usr/bin/kill -HUP $MAINPID
+Restart=on-failure
[Install]
WantedBy=multi-user.target