Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 207760 Details for
Bug 289929
OpenDKIM 1.1.1 ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/opendkim.init
opendkim.init (text/plain), 1.29 KB, created by
steveb
on 2009-10-20 23:30:00 UTC
(
hide
)
Description:
files/opendkim.init
Filename:
MIME Type:
Creator:
steveb
Created:
2009-10-20 23:30:00 UTC
Size:
1.29 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: Exp $ > >CONFFILE=/etc/mail/${SVCNAME}/${SVCNAME}.conf >PIDFILE=/var/run/${SVCNAME}/${SVCNAME}.pid > >depend() { > use dns logger net >} > >check_cfg() { > > if [ ! -f "${CONFFILE}" ] ; then > eerror "Configuration file ${CONFFILE} is missing" > return 1 > fi > > if egrep -q '^[[:space:]]*Background[[:space:]]+no' "${CONFFILE}" ; then > eerror "${SVCNAME} service cannot run with Background key set to yes!" > return 1 > fi > > if egrep -q '^[[:space:]]*PidFile[[:space:]]' "${CONFFILE}"; then > eerror "Please remove PidFile key from your configuration file!" > eerror "${SVCNAME} is automatically configured to use ${PIDFILE} as pid file." > return 1 > fi >} > >start() { > check_cfg || return 1 > > # Remove stalled Unix socket if no other process is using it > local UNIX_SOCKET=$(sed -ne 's/^[[:space:]]*Socket[[:space:]]\+\(unix\|local\)://p' "${CONFFILE}") > if [ -S "${UNIX_SOCKET}" ] && ! fuser -s "${UNIX_SOCKET}"; then > rm "${UNIX_SOCKET}" > fi > > ebegin "Starting OpenDKIM" > start-stop-daemon --start --name "${SVCNAME}" \ > --exec /usr/sbin/opendkim -- -x "${CONFFILE}" -P "${PIDFILE}" > eend $? >} > >stop() { > ebegin "Stopping OpenDKIM" > start-stop-daemon --stop --name "${SVCNAME}" > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 289929
:
207758
| 207760 |
207762