Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 111572 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]
vhcs-init.d
vhcs-init.d (text/plain), 1.21 KB, created by
MT
on 2007-02-28 15:18:12 UTC
(
hide
)
Description:
vhcs-init.d
Filename:
MIME Type:
Creator:
MT
Created:
2007-02-28 15:18:12 UTC
Size:
1.21 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >depend() { >need net > use logger apache2 proftpd postfix named courier-authlib courier-imapd courier-imapd-ssl courier-pop3d courier-pop3d-ssl > after sshd >} > >setipacct() { > > if ! [[ -d /var/log/vhcs2 ]]; then > mkdir -p /var/log/vhcs2 > fi > > ${RMMOD} ipchains 1>/var/log/vhcs2/vhcs2_network.log 2>/var/log/vhcs2/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 --quiet --exec ${DAEMON} -- -p ${PID} > if [[ ${USE_VHCS_IPTABLES} == "yes" ]]; then > setipacct > fi > eend $? >} > >stop() { > ebegin "Stopping VHCS2" > start-stop-daemon --stop --quiet --pidfile ${PID} --exec ${DAEMON} > eend $? >}
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