summaryrefslogtreecommitdiff
path: root/extra/net-snmp/snmptrapd.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-27 00:29:16 -0700
committerroot <root@rshg054.dnsready.net>2013-05-27 00:29:16 -0700
commitb4ca83da72ffb5800852339f6efe5a59c16e9f94 (patch)
tree3ed149ced423d2629e0b3a71f0b1e2cf3f6ced70 /extra/net-snmp/snmptrapd.service
parent99ee54f2484aadc464e997e54aa9c7ca7ecde198 (diff)
Mon May 27 00:29:16 PDT 2013
Diffstat (limited to 'extra/net-snmp/snmptrapd.service')
-rw-r--r--extra/net-snmp/snmptrapd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/net-snmp/snmptrapd.service b/extra/net-snmp/snmptrapd.service
new file mode 100644
index 000000000..50eee7ac8
--- /dev/null
+++ b/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