blob: 60341fabbebe6e3cf26826b07757e19defaa4e2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snmptt/files/snmptt.initd-r1,v 1.1 2013/11/26 12:32:49 jer Exp $
depend() {
need snmptrapd
}
start() {
ebegin "Starting snmptt"
start-stop-daemon --start --pidfile /run/snmptt.pid --exec /usr/sbin/snmptt
eend
}
stop() {
ebegin "Stopping snmptt"
start-stop-daemon --stop --pidfile /run/snmptt.pid
eend
}
|