diff options
author | Lasse Haugen <haugen.lasse@gmail.com> | 2019-02-12 11:10:16 +0100 |
---|---|---|
committer | Lasse Haugen <haugen.lasse@gmail.com> | 2019-02-12 11:10:16 +0100 |
commit | b018cde6bdd90d219eabb29d4b5bb200e50191c9 (patch) | |
tree | bfd9a61d33797f560ba1589d94d887b1cc4bc453 /ansible/roles/snmp/files/gondul-snmp.service | |
parent | e945540c2f55b67119db19ed1a60ca4dbec59ace (diff) |
service file cleanup
Diffstat (limited to 'ansible/roles/snmp/files/gondul-snmp.service')
-rw-r--r-- | ansible/roles/snmp/files/gondul-snmp.service | 10 |
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 |