summaryrefslogtreecommitdiffstats
path: root/abs/extra/net-snmp/snmptrapd.service
diff options
context:
space:
mode:
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