Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 185677 Details for
Bug 263180
mail-filter/amavisd-new-2.6.x: init.d script enhancements: multiple instances, daemon options in conf.d, work reliably.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/init.d/amavisd full text
amavisd.rc6 (text/plain), 1.28 KB, created by
noah
on 2009-03-20 22:23:46 UTC
(
hide
)
Description:
/etc/init.d/amavisd full text
Filename:
MIME Type:
Creator:
noah
Created:
2009-03-20 22:23:46 UTC
Size:
1.28 KB
patch
obsolete
>#!/sbin/runscript > >opts="${opts} reload" > ># If you plan to simultaneously use several Amavisd-new instances, don't forget ># to specify alternate home directories, pid and socket files, etc. You can ># create separate configuration files, or add instance-specific directives ># to the main configuration file in an "if ($instance_name eq 'alt')" block. ># See amavisd-new release notes (2.5.0 release section) for details & examples. ># Make a symlink from /etc/init.d/amavisd to /etc/init.d/amavisd.alt, ># copy /etc/conf.d/amavisd to /etc/conf.d/amavisd.alt, and optionally specify ># a new configuration file using '-c' in AMAVISD_OPTS. > >if [ ${SVCNAME} != "amavisd" ]; then > INSTANCE="${SVCNAME##*.}" > if [ -n "${INSTANCE}" ]; then > AMAVISD_OPTS="${AMAVISD_OPTS} -i ${INSTANCE}" > fi >fi > >depend() { > need net > use logger > use antivirus > use p0f > before mta >} > >start() { > ebegin "Starting amavisd-new${INSTANCE:+" (${INSTANCE})"}" > /usr/sbin/amavisd ${AMAVISD_OPTS} start >/dev/null 2>&1 > eend $? >} > >stop() { > ebegin "Stopping amavisd-new${INSTANCE:+" (${INSTANCE})"}" > /usr/sbin/amavisd ${AMAVISD_OPTS} stop >/dev/null 2>&1 > eend $? >} > >reload() { > ebegin "Reloading amavisd-new${INSTANCE:+" (${INSTANCE})"}" > /usr/sbin/amavisd ${AMAVISD_OPTS} reload >/dev/null 2>&1 > 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 263180
:
185673
|
185674
|
185675
| 185677