* [gentoo-commits] gentoo-x86 commit in net-ftp/oftpd/files: conf.d.oftpd-r7 init.d.oftpd-r7 conf.d.oftpd-r6 init.d.oftpd-r1
@ 2011-06-17 0:35 Michael Weber (xmw)
0 siblings, 0 replies; only message in thread
From: Michael Weber (xmw) @ 2011-06-17 0:35 UTC (permalink / raw
To: gentoo-commits
xmw 11/06/17 00:35:32
Added: conf.d.oftpd-r7 init.d.oftpd-r7
Removed: conf.d.oftpd-r6 init.d.oftpd-r1
Log:
Revision bump, improvements in the conf.d file
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Revision Changes Path
1.1 net-ftp/oftpd/files/conf.d.oftpd-r7
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/oftpd/files/conf.d.oftpd-r7?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/oftpd/files/conf.d.oftpd-r7?rev=1.1&content-type=text/plain
Index: conf.d.oftpd-r7
===================================================================
# Please read the oftpd(8) man page for a more detailed explaination of these
# variables.
#
# FTPUSER (user-name in the man page):
# Set this variable to the user to run the ftp daemon as
FTPUSER=ftp
# FTPROOT (root-directory in the man page):
# The server uses chroot(2) to change the root directory of the server to this
# directory. When a user connects, this is the directory that they will start
# in, and is the top of their directory tree.
#
FTPROOT=/home/ftp
# FTPPORT (TCP port)
# 21 is the standard ftp port, but you can change it here to something else
FTPPORT=21
## Uncoment this line to activate oftpd service
OFTPD_OPTS="-p ${FTPPORT} ${FTPUSER} ${FTPPORT}"
1.1 net-ftp/oftpd/files/init.d.oftpd-r7
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/oftpd/files/init.d.oftpd-r7?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/oftpd/files/init.d.oftpd-r7?rev=1.1&content-type=text/plain
Index: init.d.oftpd-r7
===================================================================
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/files/init.d.oftpd-r7,v 1.1 2011/06/17 00:35:32 xmw Exp $
depend() {
need net
}
checkconfig() {
if [ -z "${OFTPD_OPTS}" ] ; then
eerror "You need to setup OFTPD_OPTS /etc/conf.d/oftpd"
return 1
fi
}
start() {
checkconfig || return 1
ebegin "Starting oftpd"
start-stop-daemon --start --exec /usr/sbin/oftpd -- ${OFTPD_OPTS}
eend $?
}
stop() {
ebegin "Stopping oftpd"
start-stop-daemon --stop --quiet --exec /usr/sbin/oftpd
eend $?
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-17 0:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-17 0:35 [gentoo-commits] gentoo-x86 commit in net-ftp/oftpd/files: conf.d.oftpd-r7 init.d.oftpd-r7 conf.d.oftpd-r6 init.d.oftpd-r1 Michael Weber (xmw)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox