1 2 3 4 5 6 7 8 9 10 11 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