From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/metasploit/files: msfweb3.3.confd msfweb3.3.initd |
Date: | Mon, 01 Mar 2010 12:52:58 |
Message-Id: | E1Nm57E-0003Mv-CC@stork.gentoo.org |
1 | patrick 10/03/01 12:52:52 |
2 | |
3 | Added: msfweb3.3.confd msfweb3.3.initd |
4 | Log: |
5 | Bump to 3.3.3, fixes #277405 #282501 #296157 |
6 | (Portage version: 2.2_rc63/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-analyzer/metasploit/files/msfweb3.3.confd |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/files/msfweb3.3.confd?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/files/msfweb3.3.confd?rev=1.1&content-type=text/plain |
13 | |
14 | Index: msfweb3.3.confd |
15 | =================================================================== |
16 | # Config file for /etc/init.d/metasploit |
17 | |
18 | # Bind to the following IP instead of the loopback address |
19 | IPADDR=127.0.0.1 |
20 | |
21 | # Bind to the following TCP port instead of default 55555 |
22 | PORT=55555 |
23 | |
24 | # All options |
25 | MSF_OPTS="-a $IPADDR -p $PORT" |
26 | |
27 | |
28 | |
29 | 1.1 net-analyzer/metasploit/files/msfweb3.3.initd |
30 | |
31 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/files/msfweb3.3.initd?rev=1.1&view=markup |
32 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/metasploit/files/msfweb3.3.initd?rev=1.1&content-type=text/plain |
33 | |
34 | Index: msfweb3.3.initd |
35 | =================================================================== |
36 | #!/sbin/runscript |
37 | # Copyright 1999-2005 Gentoo Foundation |
38 | # Distributed under the terms of the GNU General Public License v2 |
39 | # $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/files/msfweb3.3.initd,v 1.1 2010/03/01 12:52:51 patrick Exp $ |
40 | |
41 | PIDFILE=/var/run/msfweb3.3.pid |
42 | |
43 | start() { |
44 | ebegin "Starting msfweb3.3" |
45 | start-stop-daemon --start --quiet --background --startas msfweb3.3 --exec /usr/lib/metasploit3.3/msfweb \ |
46 | --pidfile ${PIDFILE} --make-pidfile -- ${MSF_OPTS} |
47 | eend $? |
48 | einfo "Note: msfweb3.3 is started but needs some before it serves clients." |
49 | } |
50 | |
51 | stop() { |
52 | ebegin "Stopping msfweb" |
53 | start-stop-daemon --stop --quiet -s 9 --pidfile ${PIDFILE} |
54 | eend $? |
55 | } |