summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ross <aross@gentoo.org>2007-04-05 03:09:51 +0000
committerAndrew Ross <aross@gentoo.org>2007-04-05 03:09:51 +0000
commitea31adabdf3ab0680d5d74738b21b4ef1d83af8e (patch)
tree07960a8ad920f1262d90879408ddbca8aa360acd /mail-mta/postfix/files/postfix.rc6.2.2.9
parentapp-backup/bacula-2.0.3 is in the tree. (diff)
downloadaross-ea31adabdf3ab0680d5d74738b21b4ef1d83af8e.tar.gz
aross-ea31adabdf3ab0680d5d74738b21b4ef1d83af8e.tar.bz2
aross-ea31adabdf3ab0680d5d74738b21b4ef1d83af8e.zip
Import latest postfix ebuild from the main tree.
svn path=/; revision=50
Diffstat (limited to 'mail-mta/postfix/files/postfix.rc6.2.2.9')
-rw-r--r--mail-mta/postfix/files/postfix.rc6.2.2.929
1 files changed, 29 insertions, 0 deletions
diff --git a/mail-mta/postfix/files/postfix.rc6.2.2.9 b/mail-mta/postfix/files/postfix.rc6.2.2.9
new file mode 100644
index 0000000..2e222ff
--- /dev/null
+++ b/mail-mta/postfix/files/postfix.rc6.2.2.9
@@ -0,0 +1,29 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/files/postfix.rc6.2.2.9,v 1.1 2006/03/07 21:07:20 ferdy Exp $
+
+opts="${opts} reload"
+
+depend() {
+ use logger dns ypbind amavisd mysql postgresql antivirus postfix_greylist net saslauthd
+ provide mta
+}
+
+start() {
+ ebegin "Starting postfix"
+ /usr/sbin/postfix start &>/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping postfix"
+ /usr/sbin/postfix stop &>/dev/null
+ eend $?
+}
+
+reload() {
+ ebegin "Reloading postfix"
+ /usr/sbin/postfix reload &>/dev/null
+ eend $?
+}