Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 196519 Details for
Bug 276371
net-ftp/proftpd: version bumps (1.3.2a + 1.3.3rc1)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
proftpd.rc7 init-script for the proftpd-1.3.3_rc1.ebuild
proftpd.rc7 (text/plain), 1.27 KB, created by
Bernd Lommerzheim
on 2009-07-03 14:38:28 UTC
(
hide
)
Description:
proftpd.rc7 init-script for the proftpd-1.3.3_rc1.ebuild
Filename:
MIME Type:
Creator:
Bernd Lommerzheim
Created:
2009-07-03 14:38:28 UTC
Size:
1.27 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >opts="reload" > >depend() { > need net > use dns >} > >check_configuration() { > if [ ! -e /etc/proftpd/proftpd.conf ] ; then > eerror "To execute the ProFTPD server you need a /etc/proftpd/proftpd.conf configuration" > eerror "file. In /etc/proftpd you can find a sample configuration." > return 1 > fi > ebegin "Checking ProFTPD configuration" > /usr/sbin/proftpd -t -c /etc/proftpd/proftpd.conf > eend $? "A configuration error was found. You have to fix your configuration file." >} > >start() { > if [ "${RC_CMD}" != "restart" ] ; then > check_configuration || return 1 > fi > ebegin "Starting ProFTPD" > start-stop-daemon --start --quiet \ > --exec /usr/sbin/proftpd \ > --pidfile /var/run/proftpd/proftpd.pid > eend $? >} > >stop() { > if [ "${RC_CMD}" = "restart" ] ; then > check_configuration || return 1 > fi > ebegin "Stopping ProFTPD" > start-stop-daemon --stop --quiet --retry 20 \ > --pidfile /var/run/proftpd/proftpd.pid > eend $? >} > >reload() { > if [ ! -f /var/run/proftpd/proftpd.pid ] ; then > eerror "ProFTPD is not running." > return 1 > fi > check_configuration || return 1 > ebegin "Reloading ProFTPD" > kill -HUP `cat /var/run/proftpd/proftpd.pid` &>/dev/null > 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 276371
:
196513
|
196515
|
196517
| 196519 |
199569
|
203802
|
203803