Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 62001 Details for
Bug 97140
vsftpd and virtual hosts init script patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
new vsftpd init script
vsftpd (text/plain), 1.00 KB, created by
parafin
on 2005-06-26 13:21:18 UTC
(
hide
)
Description:
new vsftpd init script
Filename:
MIME Type:
Creator:
parafin
Created:
2005-06-26 13:21:18 UTC
Size:
1.00 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 2003-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License, v2 ># $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/files/vsftpd.init.d,v 1.4 2004/10/01 03:16:13 jforman Exp $ > >depend() { > need net > use dns logger >} > >checkconfig() { > if [ ! -e ${VSFTPD_CONF} ] ; then > eerror "Please setup ${VSFTPD_CONF} before starting vsftpd" > eerror "There are sample configurations in /usr/share/doc/vsftpd" > return 1 > else > ( ! grep -q "^background=YES" ${VSFTPD_CONF} && grep -q "^listen=YES" ${VSFTPD_CONF} ) || { > eerror "${VSFTPD_CONF} must not contain background=YES and must contain listen=YES" > eerror "in order to start vsftpd from /etc/init.d/vsftpd" > return 2 > } > fi > return 0 >} > >start() { > checkconfig || return 1 > ebegin "Starting vsftpd" > start-stop-daemon -m -b --start --quiet \ > --pidfile ${PIDFILE} --exec /usr/sbin/vsftpd ${VSFTPD_CONF} > eend $? >} > >stop() { > ebegin "Stopping vsftpd" > start-stop-daemon --stop --pidfile ${PIDFILE} --quiet > 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 97140
: 62001 |
62002