summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp/proftpd/files/proftpd.rc6-r2')
-rwxr-xr-xnet-ftp/proftpd/files/proftpd.rc6-r229
1 files changed, 0 insertions, 29 deletions
diff --git a/net-ftp/proftpd/files/proftpd.rc6-r2 b/net-ftp/proftpd/files/proftpd.rc6-r2
deleted file mode 100755
index 422e16e768ac..000000000000
--- a/net-ftp/proftpd/files/proftpd.rc6-r2
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/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/proftpd/files/proftpd.rc6-r2,v 1.1 2006/06/23 15:28:34 humpback Exp $
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [ ! -e /etc/proftpd/proftpd.conf ] ; then
- eerror "You need an /etc/proftpd/proftpd.conf file first"
- eerror "There is a sample file in /etc/proftpd"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting proftpd"
- start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/proftpd.pid --exec /usr/sbin/proftpd
- eend $?
-}
-
-stop() {
- ebegin "Stopping proftpd"
- start-stop-daemon --stop --retry 20 --quiet --pidfile /var/run/proftpd.pid
- eend $?
-}