summaryrefslogtreecommitdiff
path: root/community-testing/courier-mta/esmtpd.rc.d
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-01 11:10:31 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-01 11:10:31 -0300
commitf5ed25b75901e05f9933b548c8bbdda654608c32 (patch)
tree37db6969ba4d61e110bab354ab6dc0db64f0a633 /community-testing/courier-mta/esmtpd.rc.d
parent1200fd46a32625f2ac4b035653cb49c22cce6426 (diff)
parentbc0657f7159d0b01373ecb59afc426b98a172b1e (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/dangerdeep/PKGBUILD community/lsb-release/PKGBUILD community/perl-gtk2-mozembed/PKGBUILD extra/camsource/PKGBUILD extra/gsf-sharp/PKGBUILD extra/muine/PKGBUILD extra/ocfs2-tools/PKGBUILD extra/telepathy-kde-accounts-kcm-plugins/PKGBUILD
Diffstat (limited to 'community-testing/courier-mta/esmtpd.rc.d')
-rw-r--r--community-testing/courier-mta/esmtpd.rc.d45
1 files changed, 0 insertions, 45 deletions
diff --git a/community-testing/courier-mta/esmtpd.rc.d b/community-testing/courier-mta/esmtpd.rc.d
deleted file mode 100644
index dbaa9d680..000000000
--- a/community-testing/courier-mta/esmtpd.rc.d
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
-
- [ -d /var/run/courier ] || mkdir -p /var/run/courier
- chown courier:courier /var/run/courier
-
- if ck_daemon authdaemond; then
- echo "ERROR: authdaemond is not running"
- stat_fail
- exit 1
- fi
-
- stat_busy "Starting Courier esmtpd"
- /usr/sbin/esmtpd start
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon esmtpd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Courier esmtpd"
- /usr/sbin/esmtpd stop > /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon esmtpd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0