summaryrefslogtreecommitdiff
path: root/net-analyzer/net-snmp/files/snmptrapd.init.2
blob: 9787d6f05c38636f18f21b464ea0b84e801ec1e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# 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
}