aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cyrus-sasl/saslauthd.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-01 11:32:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-01 11:32:40 +0000
commit440a34fa8753c476a7fdf150178ddc5f4057357b (patch)
treeb61b2ec0fefca7781bc159128a9e6431e6553d2b /testing/cyrus-sasl/saslauthd.initd
parentc867b7e1e1c06e84d44a2f821a3a539225b23e9d (diff)
downloadaports-440a34fa8753c476a7fdf150178ddc5f4057357b.tar.gz
aports-440a34fa8753c476a7fdf150178ddc5f4057357b.tar.bz2
aports-440a34fa8753c476a7fdf150178ddc5f4057357b.tar.xz
testing/cyrus-sasl: new aport
Cyrus Simple Authentication Service Layer (SASL) http://cyrusimap.web.cmu.edu/downloads.html#sasl
Diffstat (limited to 'testing/cyrus-sasl/saslauthd.initd')
-rw-r--r--testing/cyrus-sasl/saslauthd.initd21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/cyrus-sasl/saslauthd.initd b/testing/cyrus-sasl/saslauthd.initd
new file mode 100644
index 0000000000..a5e9a44061
--- /dev/null
+++ b/testing/cyrus-sasl/saslauthd.initd
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/files/saslauthd2.rc6,v 1.7 2007/04/07 13:03:55 chtekk Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting saslauthd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/saslauthd \
+ -- ${SASLAUTHD_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping saslauthd"
+ start-stop-daemon --stop --quiet --pidfile /var/lib/sasl2/saslauthd.pid
+ eend $?
+}