diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
commit | feb0daf81d888e9160f9f94502de09b66f2a63fd (patch) | |
tree | b6e5c40ce2abef3da27ed50a023153f475e0ddef /net-libs/courier-authlib/files/courier-authlib-r1 | |
parent | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff) |
gentoo resync : 21.06.2020
Diffstat (limited to 'net-libs/courier-authlib/files/courier-authlib-r1')
-rw-r--r-- | net-libs/courier-authlib/files/courier-authlib-r1 | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/net-libs/courier-authlib/files/courier-authlib-r1 b/net-libs/courier-authlib/files/courier-authlib-r1 deleted file mode 100644 index 5730139a02af..000000000000 --- a/net-libs/courier-authlib/files/courier-authlib-r1 +++ /dev/null @@ -1,40 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net - provide authdaemond -} - -checkconfig() { - if [ ! -e /etc/courier/authlib/authdaemonrc ] ; then - eerror "You need an /etc/courier/authlib/authdaemonrc file to run authdaemon" - return 1 - fi -} - -setauth() { - . /etc/courier/authlib/authdaemonrc - AUTHLIB="/usr/lib/courier/courier-authlib" - AUTHDAEMOND="authdaemond" - pidfile="/var/run/authdaemon.pid" - logger="/usr/sbin/courierlogger" - export DEBUG_LOGIN DEFAULTOPTIONS LOGGEROPTS -} - -start() { - checkconfig || return 1 - setauth - ebegin "Starting courier-authlib: ${AUTHDAEMOND}" - start-stop-daemon --quiet --start --pidfile "${pidfile}" --exec \ - /usr/bin/env ${logger} -- ${LOGGEROPTS} -pid="${pidfile}" -start "${AUTHLIB}/${AUTHDAEMOND}" - eend $? -} - -stop() { - setauth - ebegin "Stopping courier-authlib: ${AUTHDAEMOND}" - start-stop-daemon --quiet --stop --pidfile "${pidfile}" - eend $? -} |