summaryrefslogtreecommitdiffstats
path: root/testing/pureftpd/pure-ftpd.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-03-31 12:25:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-03-31 12:26:10 +0000
commitea6f37407162790ebc283d23bf7edb2812aea647 (patch)
treecafc40c381432cc681b080a383821105efbfedbf /testing/pureftpd/pure-ftpd.initd
parent7faef200060e1a0e2f098a349bf6c1ea9a7dcb5d (diff)
downloadaports-ea6f37407162790ebc283d23bf7edb2812aea647.tar.bz2
aports-ea6f37407162790ebc283d23bf7edb2812aea647.tar.xz
testing/pure-ftpd: rename dir and use gentoo init.d scripts
Diffstat (limited to 'testing/pureftpd/pure-ftpd.initd')
-rw-r--r--testing/pureftpd/pure-ftpd.initd26
1 files changed, 0 insertions, 26 deletions
diff --git a/testing/pureftpd/pure-ftpd.initd b/testing/pureftpd/pure-ftpd.initd
deleted file mode 100644
index ea55116e6..000000000
--- a/testing/pureftpd/pure-ftpd.initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/runscript
-
-name=pure-ftpd
-daemon=/usr/sbin/$name
-
-depend() {
- need net
- after firewall
-}
-
-start() {
- ebegin "Starting ${name}"
- start-stop-daemon --start --quiet \
- --pidfile /var/run/${name}.pid \
- --exec ${daemon} --background
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${name}"
- start-stop-daemon --stop --quiet \
- --pidfile /var/run/$name.pid \
- --exec ${daemon}
- eend $?
-}
-