aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wzdftpd/wzdftpd-svn.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-03-17 09:08:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-17 09:08:37 +0000
commit989f9c83cb9c84a6ce98b6499324fcaa3903bb5f (patch)
tree158c0a0d0bf76597ecdb970caa5903f989fe14c2 /testing/wzdftpd/wzdftpd-svn.initd
parent56ac628754ca8b9dbd4502fd8266041749ae8ef4 (diff)
downloadaports-989f9c83cb9c84a6ce98b6499324fcaa3903bb5f.tar.bz2
aports-989f9c83cb9c84a6ce98b6499324fcaa3903bb5f.tar.xz
testing/wzdftpd: removed from stable branch
Diffstat (limited to 'testing/wzdftpd/wzdftpd-svn.initd')
-rw-r--r--testing/wzdftpd/wzdftpd-svn.initd32
1 files changed, 0 insertions, 32 deletions
diff --git a/testing/wzdftpd/wzdftpd-svn.initd b/testing/wzdftpd/wzdftpd-svn.initd
deleted file mode 100644
index 25f4da6f47..0000000000
--- a/testing/wzdftpd/wzdftpd-svn.initd
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- need net
- after firewall
- use dns
-}
-
-checkconfig() {
- if [ ! -f /etc/wzdftpd/wzd.cfg ] ; then
- eerror "No /etc/wzdftpd/wzd.cnf file exists!"
- return 1
- fi
- if [ ! -d /var/run/wzdftpd ] ; then
- install -dD -o ftp -g ftp /var/run/wzdftpd
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting wzdftpd"
- /usr/sbin/wzdftpd >/dev/null 2>&1 &
- eend $?
-}
-
-stop () {
- ebegin "Stopping wzdftpd"
- start-stop-daemon --stop --quiet \
- --pidfile=/var/run/wzdftpd/wzdftpd.pid --retry 20
- eend $?
-}
-