summaryrefslogtreecommitdiff
path: root/community-testing/courier-mta/imapd.rc.d
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-06-02 21:25:54 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-06-02 21:25:54 -0300
commit8b9ddc7fec12ba69e50ece961525c90bed96df99 (patch)
treefc12914f9d27317b3d3f1df6f0009f02ebb7668a /community-testing/courier-mta/imapd.rc.d
parent40134114ddb57a36863a256ffdc5b65a8edb5a67 (diff)
parentd915cad658736d96368750201c34df752048751a (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/perl-berkeleydb/PKGBUILD community/egoboo/PKGBUILD community/kdenlive/PKGBUILD community/postgis/PKGBUILD core/lvm2/PKGBUILD extra/gvfs/PKGBUILD extra/libatasmart/PKGBUILD extra/mesa/PKGBUILD extra/pixman/PKGBUILD extra/pulseaudio/PKGBUILD extra/system-config-printer/PKGBUILD extra/xorg-server/PKGBUILD kde-unstable/kdenetwork/PKGBUILD multilib/lib32-mesa/PKGBUILD testing/imagemagick/PKGBUILD testing/php/PKGBUILD testing/php/logrotate.d.php-fpm testing/php/php-fpm.conf.in.patch testing/php/rc.d.php-fpm testing/xf86-video-intel/PKGBUILD
Diffstat (limited to 'community-testing/courier-mta/imapd.rc.d')
-rw-r--r--community-testing/courier-mta/imapd.rc.d45
1 files changed, 0 insertions, 45 deletions
diff --git a/community-testing/courier-mta/imapd.rc.d b/community-testing/courier-mta/imapd.rc.d
deleted file mode 100644
index 8bce59f6c..000000000
--- a/community-testing/courier-mta/imapd.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 imapd"
- /usr/sbin/imapd start
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon imapd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Courier imapd"
- /usr/sbin/imapd stop > /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon imapd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0