Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 287989 Details for
Bug 384719
New ebuild: SendmailAnalyzer
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
The init.d script
sendmailanalyzer.init (text/plain), 1.24 KB, created by
Sven Wehner
on 2011-09-27 20:47:00 UTC
(
hide
)
Description:
The init.d script
Filename:
MIME Type:
Creator:
Sven Wehner
Created:
2011-09-27 20:47:00 UTC
Size:
1.24 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >SENDMAILANALYZER=/usr/bin/sendmailanalyzer >SENDMAILANALYZER_OPTS="--full" >PIDDIRPATTERN="/var/run/sendmailanalyzer.CONFNAME" > >depend() { > use localmount >} > > >start() { > ebegin "Starting ${SVCNAME}" > > # support multiple hosts / configurations > # sendmailanalyzer writes its own pid files... > for CONFFILE in $(ls /etc/sendmailanalyzer/*.conf); do > CONFNAME=$(basename ${CONFFILE}) > PIDDIR=${PIDDIRPATTERN//CONFNAME/${CONFNAME}} > > # create pid directory > mkdir -p "${PIDDIR}" > > ebegin " ${SVCNAME}: config ${CONFNAME}" > start-stop-daemon --start -- ${SENDMAILANALYZER} ${SENDMAILANALYZER_OPTS} --config ${CONFFILE} --piddir "${PIDDIR}" > done > > eend $? >} > >stop() { > ebegin "Stopping ${SVCNAME}" > > # support multiple hosts / configurations > # sendmailanalyzer writes its own pid files... > for CONFFILE in $(ls /etc/sendmailanalyzer/*.conf); do > CONFNAME=$(basename ${CONFFILE}) > PIDDIR=${PIDDIRPATTERN//CONFNAME/${CONFNAME}} > PIDFILE="${PIDDIR}/sendmailanalyzer.pid" > > ebegin " ${SVCNAME}: config ${CONFNAME}" > start-stop-daemon --stop --pidfile "${PIDFILE}" > > # remove pid directory > rm -R "${PIDDIR}" > done > > 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 384719
:
287987
| 287989 |
287991
|
287993
|
287995