Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 89143 Details for
Bug 77651
VHCS: Virtual Hosting Control System (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/init.d/vhcs
vhcs-init.d (text/plain), 4.08 KB, created by
Alexandre Ghisoli
on 2006-06-14 05:47:41 UTC
(
hide
)
Description:
/etc/init.d/vhcs
Filename:
MIME Type:
Creator:
Alexandre Ghisoli
Created:
2006-06-14 05:47:41 UTC
Size:
4.08 KB
patch
obsolete
> > > > ><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" >"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> ><!-- ViewCVS - http://viewcvs.sourceforge.net/ >by Greg Stein - mailto:gstein@lyra.org --> ><head> ><title>[ycom] View of /portage/trunk/www-apps/vhcs/files/vhcs-init.d</title> ><meta name="generator" content="ViewCVS 1.0_pre20050929" /> ><link rel="stylesheet" href="/viewcvs/*docroot*/styles.css" type="text/css" /> ></head> ><body> ><div class="vc_navheader"> > ><form method="get" action="/viewcvs/"> > ><table style="padding:0.1em;"> ><tr> ><td><strong> > ><a href="/viewcvs/ycom/?rev=667"> > >[ycom]</a> >/ > ><a href="/viewcvs/ycom/portage/?rev=667"> > >portage</a> >/ > ><a href="/viewcvs/ycom/portage/trunk/?rev=667"> > >trunk</a> >/ > ><a href="/viewcvs/ycom/portage/trunk/www-apps/?rev=667"> > >www-apps</a> >/ > ><a href="/viewcvs/ycom/portage/trunk/www-apps/vhcs/?rev=667"> > >vhcs</a> >/ > ><a href="/viewcvs/ycom/portage/trunk/www-apps/vhcs/files/?rev=667"> > >files</a> >/ > ><a href="/viewcvs/ycom/portage/trunk/www-apps/vhcs/files/vhcs-init.d?rev=667&view=log"> > >vhcs-init.d</a> > > ></strong></td> ><td style="text-align:right;"> > > ><strong>Project Root:</strong> ><select name="root" onchange="submit()"> > > ><option value="*viewroots*">Repository Listing</option> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ><optgroup label="Subversion Repositories"><option>agh</option><option>atev</option><option>clients</option><option>configs</option><option>jau</option><option>jbu</option><option>mfr</option><option selected="selected">ycom</option></optgroup> > ></select> ><input type="submit" value="Go" /> > ></td> ></tr> ></table> > ></form> > ></div> ><h1><img style="float:right;" src="/viewcvs/*docroot*/images/logo.png" alt="ViewCVS logotype" width="128" height="48" />View of /portage/trunk/www-apps/vhcs/files/vhcs-init.d</h1> > ><p style="margin:0;"> ><a href="/viewcvs/ycom/portage/trunk/www-apps/vhcs/files/?rev=667"><img src="/viewcvs/*docroot*/images/back_small.png" width="16" height="16" alt="Parent Directory" /> Parent Directory</a> > >| <a href="/viewcvs/ycom/portage/trunk/www-apps/vhcs/files/vhcs-init.d?rev=667&view=log"><img src="/viewcvs/*docroot*/images/text.png" alt="Revision Log" /> Revision Log</a> > > ></p> ><hr /> ><div class="vc_summary"> >Revision: <strong>667</strong> - >(<a href="/viewcvs/*checkout*/ycom/portage/trunk/www-apps/vhcs/files/vhcs-init.d?rev=667"><strong>download</strong></a>) > >(<a href="/viewcvs/ycom/portage/trunk/www-apps/vhcs/files/vhcs-init.d?annotate=667"><strong>annotate</strong></a>) > ><br /><em>Fri Jun 2 09:38:16 2006 UTC</em> (12 days, 3 hours ago) by <em>jbu</em> > > > > > ><br />File size: 993 byte(s) > > > ><pre class="vc_log">Correction appel de fonction ></pre> > ></div> ><div><pre>#!/sbin/runscript ># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >depend() { >need net > use logger > after sshd >} > >setipacct() { > ${RMMOD} ipchains 1>/tmp/vhcs2_network.log 2>/tmp/vhcs2_network.err.log > # all traffic > > /sbin/iptables -I INPUT > > /sbin/iptables -I OUTPUT > > # web traffic > /sbin/iptables -I INPUT -p tcp --dport 80 > /sbin/iptables -I OUTPUT -p tcp --sport 80 > > # pop3 traffic > /sbin/iptables -I INPUT -p tcp --dport 110 > /sbin/iptables -I OUTPUT -p tcp --sport 110 > > # imap traffic > /sbin/iptables -I INPUT -p tcp --dport 143 > /sbin/iptables -I OUTPUT -p tcp --sport 143 > > # mail traffic > /sbin/iptables -I INPUT -p tcp --dport 25 > /sbin/iptables -I OUTPUT -p tcp --sport 25 > >} > >start() { > ebegin "Starting VHCS2" > start-stop-daemon --start --verbose --exec ${DAEMON} -- -p ${PID} > setipacct > eend $? >} > >stop() { > ebegin "Stopping VHCS2" > start-stop-daemon --stop --verbose --pidfile ${PID} --exec ${DAEMON} > eend $? >} ></pre></div> > ><hr /> ><table> ><tr> ><td> ><address><a href="mailto:support@ycom.ch">Source Version Control Administrator</a></address><br /> >Powered by <a href="http://viewcvs.sourceforge.net/">ViewCVS 1.0_pre20050929</a> ></td> ><td style="text-align:right;"> ><h3><a href="/viewcvs/*docroot*/help_rootview.html">ViewCVS and CVS Help</a></h3> ></td> ></tr> ></table> ></body> ></html> >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 77651
:
89136
|
89137
|
89138
|
89139
|
89140
|
89141
|
89142
|
89143
|
89153
|
89154
|
89156
|
89157
|
89159
|
89160
|
111559
|
111561
|
111562
|
111564
|
111566
|
111567
|
111568
|
111570
|
111572
|
111574
|
221047