diff options
Diffstat (limited to 'mail-mta/postfix/files/postfix.rc6.2.2.9')
-rw-r--r-- | mail-mta/postfix/files/postfix.rc6.2.2.9 | 29 |
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..85e6ef0 --- /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.2 2007/07/12 08:45:12 zzam 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 2>&1 + eend $? +} + +stop() { + ebegin "Stopping postfix" + /usr/sbin/postfix stop >/dev/null 2>&1 + eend $? +} + +reload() { + ebegin "Reloading postfix" + /usr/sbin/postfix reload >/dev/null 2>&1 + eend $? +} |