Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 226479 Details for
Bug 292224
mail-mta/postfix-2.6.5 init script handles multiple instances incorrectly
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for builtin multi-instance support
postfix-initd.patch (text/plain), 1.59 KB, created by
Michael Orlitzky
on 2010-04-03 21:52:15 UTC
(
hide
)
Description:
Patch for builtin multi-instance support
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2010-04-03 21:52:15 UTC
Size:
1.59 KB
patch
obsolete
>--- postfix.initd.orig 2010-04-03 17:22:11.138270464 -0400 >+++ postfix.initd.new 2010-04-03 17:22:01.134899361 -0400 >@@ -3,19 +3,6 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/files/postfix.rc6.2.5,v 1.3 2008/08/18 14:18:40 falco Exp $ > >-# If you plan to simultaneously use several Postfix instances, don't forget >-# to specify your alternate_config_directories variable in your main main.cf file. >-# Then make a symlink from /etc/init.d/postfix to /etc/init.d/postfix.alt, >-# prepare your new /etc/postfix.alt environment, and at least change these working paths: >-# queue_directory = /var/spool/postfix.alt >-# data_directory = /var/lib/postfix.alt >- >-CONF_DIR="/etc/postfix" >-CONF_OPT="${SVCNAME##*.}" >-if [ -n ${CONF_OPT} -a ${SVCNAME} != "postfix" ]; then >- CONF_DIR="${CONF_DIR}.${CONF_OPT}" >-fi >- > opts="${opts} reload" > > depend() { >@@ -26,23 +13,19 @@ > } > > start() { >- ebegin "Starting postfix (${CONF_DIR})" >- if [ ! -d ${CONF_DIR} ]; then >- eend 1 "${CONF_DIR} does not exist" >- return 1 >- fi >- /usr/sbin/postfix -c ${CONF_DIR} start >/dev/null 2>&1 >+ ebegin "Starting postfix..." >+ /usr/sbin/postfix start >/dev/null 2>&1 > eend $? > } > > stop() { >- ebegin "Stopping postfix (${CONF_DIR})" >- /usr/sbin/postfix -c ${CONF_DIR} stop >/dev/null 2>&1 >+ ebegin "Stopping postfix..." >+ /usr/sbin/postfix stop >/dev/null 2>&1 > eend $? > } > > reload() { >- ebegin "Reloading postfix (${CONF_DIR})" >- /usr/sbin/postfix -c ${CONF_DIR} reload >/dev/null 2>&1 >+ ebegin "Reloading postfix..." >+ /usr/sbin/postfix 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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 292224
: 226479