summaryrefslogtreecommitdiff
path: root/testing/cyrus-sasl/saslauthd
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-08-08 13:56:25 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-08-08 13:56:25 +0000
commit665308e50fd95e984da057ab8ddb6505b596b841 (patch)
tree5e25997f87cdddb052b9b26cbb285674cae6f3c2 /testing/cyrus-sasl/saslauthd
parent0f9e4ba23bb6296d8bb8010f70d868fd08db9c54 (diff)
Mon Aug 8 13:56:24 UTC 2011
Diffstat (limited to 'testing/cyrus-sasl/saslauthd')
-rw-r--r--testing/cyrus-sasl/saslauthd49
1 files changed, 0 insertions, 49 deletions
diff --git a/testing/cyrus-sasl/saslauthd b/testing/cyrus-sasl/saslauthd
deleted file mode 100644
index 6afafae0b..000000000
--- a/testing/cyrus-sasl/saslauthd
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/bash
-
-# source application-specific settings
-[ -f /etc/conf.d/saslauthd ] && . /etc/conf.d/saslauthd
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-DAEMON_NAME="saslauthd"
-SASLAUTHD_BIN=/usr/sbin/saslauthd
-SASLAUTHD_RUN=/var/run/saslauthd
-SASLAUTHD_PID=$SASLAUTHD_RUN/saslauthd.pid
-
-case "$1" in
- start)
- stat_busy "Starting $DAEMON_NAME"
- [ ! -d /var/run/saslauthd ] && install -d /var/run/saslauthd
- if $SASLAUTHD_BIN $SASLAUTHD_OPTS >/dev/null; then
- add_daemon $DAEMON_NAME
- stat_done
- else
- stat_fail
- exit 1
- fi
- ;;
-
- stop)
- stat_busy "Stopping $DAEMON_NAME"
- [ -f $SASLAUTHD_PID ] && kill `cat $SASLAUTHD_PID` &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- rm_daemon $DAEMON_NAME
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
-
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
-# vim: ts=2 sw=2 et ft=sh