22 lines
417 B
Plaintext
22 lines
417 B
Plaintext
|
#!/sbin/runscript
|
||
|
# Copyright 1999-2013 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Id$
|
||
|
|
||
|
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 /run/saslauthd/saslauthd.pid
|
||
|
eend $?
|
||
|
}
|