Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 119119 Details for
Bug 173365
net-ftp/pure-ftpd-1.0.21-r1 - init script fails w/ --uploadscript set
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pure-ftpd
pure-ftpd (text/plain), 1.43 KB, created by
Heiko Baums
on 2007-05-13 15:18:37 UTC
(
hide
)
Description:
pure-ftpd
Filename:
MIME Type:
Creator:
Heiko Baums
Created:
2007-05-13 15:18:37 UTC
Size:
1.43 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-ftp/pure-ftpd/files/pure-ftpd.rc6,v 1.10 2006/09/23 23:12:14 chtekk Exp $ > >depend() { > need net >} > >checkconfig() { > if [ -z "$IS_CONFIGURED" ] ; then > eerror "You need to setup /etc/conf.d/pure-ftpd first!" > return 1 > fi >} > >start() { > checkconfig || return 1 > UPSCRIPT="" > if [ -n "$UPLOADSCRIPT" ] ; then > UPSCRIPT="--uploadscript" > fi > ebegin "Starting Pure-FTPd" > > if [ -n "$UPLOADSCRIPT" ] ; then > ebegin "Starting Pure-FTPd upload script" > start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/pure-uploadscript.pid --exec /usr/sbin/pure-uploadscript -- -B -r $UPLOADSCRIPT > eend $? > fi > start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/pure-ftpd.pid --exec /usr/sbin/pure-ftpd -- $SERVER $MAX_CONN $MAX_CONN_IP $DAEMON $DISK_FULL $USE_NAT $AUTH $LOG $TIMEOUT $CHARCONV $MISC_OTHER $UPSCRIPT > result=$? > if [ $result -ne 0 ] ; then > eend 1 "Could not launch Pure-FTPd" > else > eend $result > fi >} > >stop() { > ebegin "Stopping Pure-FTPd" > start-stop-daemon --stop --retry 20 --quiet --pidfile /var/run/pure-ftpd.pid > eend $? > if [ -n "$UPLOADSCRIPT" ] ; then > ebegin "Stopping Pure-FTPd upload script" > start-stop-daemon --stop --retry 20 --quiet --pidfile /var/run/pure-uploadscript.pid > eend $? > fi >}
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 173365
:
115453
|
115454
|
115455
|
118456
| 119119 |
123963