From 54b93f047c43c5c63950d4435806e72b87517c0c Mon Sep 17 00:00:00 2001 From: basebuilder_pel7x64builder0 Date: Wed, 6 Jun 2018 10:50:21 +0200 Subject: [PATCH] net-snmp add missing source Signed-off-by: basebuilder_pel7x64builder0 --- SOURCES/snmptrapd.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 SOURCES/snmptrapd.service diff --git a/SOURCES/snmptrapd.service b/SOURCES/snmptrapd.service new file mode 100644 index 00000000..9835a380 --- /dev/null +++ b/SOURCES/snmptrapd.service @@ -0,0 +1,13 @@ +[Unit] +Description=Simple Network Management Protocol (SNMP) Trap Daemon. +After=syslog.target network.target + +[Service] +Type=notify +Environment=OPTIONS="-Lsd" +EnvironmentFile=-/etc/sysconfig/snmptrapd +ExecStart=/usr/sbin/snmptrapd $OPTIONS -f +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target