summaryrefslogtreecommitdiffstats
path: root/abs/extra/net-snmp/snmptrapd.service
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-08-16 17:52:03 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-08-16 17:59:20 (GMT)
commit1a7155936ea17b6f1b1ffd31aaed8a34371a0e9f (patch)
tree31a06edaf6243f3cfaf88b66227493103e5b4077 /abs/extra/net-snmp/snmptrapd.service
parent98884293d83a99ca10e7d745f8fb73714b3bd8fc (diff)
downloadlinhes_pkgbuild-1a7155936ea17b6f1b1ffd31aaed8a34371a0e9f.zip
linhes_pkgbuild-1a7155936ea17b6f1b1ffd31aaed8a34371a0e9f.tar.gz
linhes_pkgbuild-1a7155936ea17b6f1b1ffd31aaed8a34371a0e9f.tar.bz2
net-snmp 5.7.2
refs #961
Diffstat (limited to 'abs/extra/net-snmp/snmptrapd.service')
-rw-r--r--abs/extra/net-snmp/snmptrapd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/extra/net-snmp/snmptrapd.service b/abs/extra/net-snmp/snmptrapd.service
new file mode 100644
index 0000000..50eee7a
--- /dev/null
+++ b/abs/extra/net-snmp/snmptrapd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Simple Network Management Protocol (SNMP) TRAP Daemon
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/run/snmptrapd.pid
+ExecStart=/usr/bin/snmptrapd -p /run/snmptrapd.pid
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target