diff options
author | Andrej Kacian <ticho@gentoo.org> | 2005-06-18 23:18:29 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2005-06-18 23:18:29 +0000 |
commit | 97a1e2e9c2e375b21f01d304d47116a4d7f0393f (patch) | |
tree | 442f107ab8eb36a57d0ec3f290cc8fff1fb6a01f /mail-mta/postfix/files | |
parent | Stable on SPARC. (diff) | |
download | gentoo-2-97a1e2e9c2e375b21f01d304d47116a4d7f0393f.tar.gz gentoo-2-97a1e2e9c2e375b21f01d304d47116a4d7f0393f.tar.bz2 gentoo-2-97a1e2e9c2e375b21f01d304d47116a4d7f0393f.zip |
Make the initscript 'use postfix_greylist'.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'mail-mta/postfix/files')
-rw-r--r-- | mail-mta/postfix/files/postfix.rc6.2.2.3 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/mail-mta/postfix/files/postfix.rc6.2.2.3 b/mail-mta/postfix/files/postfix.rc6.2.2.3 new file mode 100644 index 000000000000..07bbee0e388d --- /dev/null +++ b/mail-mta/postfix/files/postfix.rc6.2.2.3 @@ -0,0 +1,30 @@ +#!/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.3,v 1.1 2005/06/18 23:18:29 ticho Exp $ + +opts="${opts} reload" + +depend() { + need net + use logger dns ypbind amavisd mysql postgresql antivirus postfix_greylist + 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 $? +} |