You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/eselect-metasploit/files/msfrpcd.initd

23 lines
595 B

#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-metasploit/files/msfrpcd.initd,v 1.1 2013/12/15 15:23:44 zerochaos Exp $
VERSION=
PIDFILE=/var/run/msfrpcd${VERSION}.pid
start() {
ebegin "Starting msfrpcd"
start-stop-daemon --start --quiet --background \
--exec /usr/bin/msfrpcd \
--pidfile ${PIDFILE} \
--make-pidfile -- -f ${MSF_OPTS}
eend $?
}
stop() {
ebegin "Stopping msfrpcd"
start-stop-daemon --stop --quiet -s 9 --pidfile ${PIDFILE}
eend $?
}