mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-14 20:35:21 +01:00
18 lines
533 B
Text
18 lines
533 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/msfweb.initd,v 1.3 2006/11/03 12:08:57 pva Exp $
|
|
|
|
start() {
|
|
ebegin "Starting msfweb"
|
|
start-stop-daemon --start --quiet --background --exec /usr/bin/msfweb \
|
|
--pidfile ${PIDFILE} --make-pidfile -- ${MSF_OPTS}
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping msfweb"
|
|
start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
|
|
rm -f ${PIDFILE}
|
|
eend $?
|
|
}
|