mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-02 22:06:57 +01:00
19 lines
561 B
Text
19 lines
561 B
Text
#!/sbin/runscript
|
|
# Copyright 1999-2005 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/files/msfweb3.initd,v 1.1 2007/09/09 11:56:21 cedk Exp $
|
|
|
|
PIDFILE=/var/run/msfweb3.pid
|
|
|
|
start() {
|
|
ebegin "Starting msfrcpd3"
|
|
start-stop-daemon --start --quiet --background --exec /usr/bin/msfrpcd3 \
|
|
--pidfile ${PIDFILE} --make-pidfile -- -f ${MSF_OPTS}
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping msfrpcd3"
|
|
start-stop-daemon --stop --quiet -s 9 --pidfile ${PIDFILE}
|
|
eend $?
|
|
}
|