summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott W Taylor <swtaylor@gentoo.org>2005-02-05 02:55:32 +0000
committerScott W Taylor <swtaylor@gentoo.org>2005-02-05 02:55:32 +0000
commit33e44154c3fff1b41f645ee3a4a4aea99712e6d0 (patch)
tree0162b6a3639a75356b3a566709effc9db55982ed /net-libs/courier-authlib/files
parentpackage.mask: masking media-video/spca50x (diff)
downloadgentoo-2-33e44154c3fff1b41f645ee3a4a4aea99712e6d0.tar.gz
gentoo-2-33e44154c3fff1b41f645ee3a4a4aea99712e6d0.tar.bz2
gentoo-2-33e44154c3fff1b41f645ee3a4a4aea99712e6d0.zip
add provide in init script
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-libs/courier-authlib/files')
-rw-r--r--net-libs/courier-authlib/files/courier-authlib-initd8
1 files changed, 3 insertions, 5 deletions
diff --git a/net-libs/courier-authlib/files/courier-authlib-initd b/net-libs/courier-authlib/files/courier-authlib-initd
index 77deba9550de..56b16eef34f5 100644
--- a/net-libs/courier-authlib/files/courier-authlib-initd
+++ b/net-libs/courier-authlib/files/courier-authlib-initd
@@ -1,9 +1,10 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/files/courier-authlib-initd,v 1.3 2004/11/27 08:40:33 swtaylor Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/files/courier-authlib-initd,v 1.4 2005/02/05 02:55:32 swtaylor Exp $
depend() {
need net
+ provide authdaemond
}
checkconfig() {
@@ -24,7 +25,6 @@ setauth() {
start() {
checkconfig || return 1
setauth
-
ebegin "Starting courier-authlib: ${AUTHDAEMOND}"
start-stop-daemon --quiet --start --pidfile "$pidfile" --exec \
/usr/bin/env -- - $logger -pid="$pidfile" -start "${AUTHLIB}/${AUTHDAEMOND}"
@@ -33,9 +33,7 @@ start() {
stop() {
setauth
-
ebegin "Stopping courier-authlib: ${AUTHDAEMOND}"
- start-stop-daemon --quiet --stop \
- --pidfile "$pidfile"
+ start-stop-daemon --quiet --stop --pidfile "$pidfile"
eend $?
}