summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2006-11-03 12:08:57 +0000
committerPeter Volkov <pva@gentoo.org>2006-11-03 12:08:57 +0000
commitb5c02359338a8a7eb6af9d40ea21a36e12d0c0ea (patch)
treebd1a1fcb7996aea0d80536c4bb00e55a4a6f8d67 /net-analyzer
parentinitial commit of a viewer for Portage's ELOG capabilities, thanks to Luca Ma... (diff)
downloadgentoo-2-b5c02359338a8a7eb6af9d40ea21a36e12d0c0ea.tar.gz
gentoo-2-b5c02359338a8a7eb6af9d40ea21a36e12d0c0ea.tar.bz2
gentoo-2-b5c02359338a8a7eb6af9d40ea21a36e12d0c0ea.zip
Fixed init script issue caused msfweb not to stop properly. Thank Timothy Redaelli for report in bug #153912.
(Portage version: 2.1.1)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/metasploit/ChangeLog6
-rw-r--r--net-analyzer/metasploit/files/msfweb.initd7
2 files changed, 8 insertions, 5 deletions
diff --git a/net-analyzer/metasploit/ChangeLog b/net-analyzer/metasploit/ChangeLog
index 2347abbf1181..3d9596bd5399 100644
--- a/net-analyzer/metasploit/ChangeLog
+++ b/net-analyzer/metasploit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/metasploit
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.14 2006/11/02 14:04:35 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/ChangeLog,v 1.15 2006/11/03 12:08:57 pva Exp $
+
+ 03 Nov 2006; Peter Volkov <pva@gentoo.org> files/msfweb.initd:
+ Fixed init script issue caused msfweb not to stop properly. Thank Timothy
+ Redaelli for report in bug #153912.
*metasploit-2.7 (02 Nov 2006)
diff --git a/net-analyzer/metasploit/files/msfweb.initd b/net-analyzer/metasploit/files/msfweb.initd
index ca12debfe9f2..e94ab33e84d6 100644
--- a/net-analyzer/metasploit/files/msfweb.initd
+++ b/net-analyzer/metasploit/files/msfweb.initd
@@ -1,13 +1,12 @@
#!/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.2 2005/04/27 12:01:41 ka0ttic Exp $
+# $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 --exec /usr/bin/msfweb \
- -- ${MSF_OPTS} >/dev/null 2>&1 &
- echo $! > ${PIDFILE}
+ start-stop-daemon --start --quiet --background --exec /usr/bin/msfweb \
+ --pidfile ${PIDFILE} --make-pidfile -- ${MSF_OPTS}
eend $?
}