SwordArMor-gentoo-overlay/net-analyzer/net-snmp/files/snmptrapd.init.2
Alarig Le Lay 4d62ffcc8e
net-analyzer/net-snmp: New package
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
2020-09-22 12:54:44 +02:00

14 lines
335 B
Groff

#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
SNMPTRAPD_PIDFILE="${SNMPTRAPD_PIDFILE:-/var/run/snmptrapd.pid}"
command="/usr/sbin/snmptrapd"
command_args="-p ${SNMPTRAPD_PIDFILE} ${SNMPTRAPD_FLAGS}"
pidfile="${SNMPTRAPD_PIDFILE}"
depend() {
use logger
}