diff options
author | Tuan Van <langthang@gentoo.org> | 2005-06-29 15:12:13 +0000 |
---|---|---|
committer | Tuan Van <langthang@gentoo.org> | 2005-06-29 15:12:13 +0000 |
commit | 6648825ecdd301a2306e1d0ea9c60d2e2e97aa92 (patch) | |
tree | 7cecdeb601208e3f736e2f67d4903658b95844ed | |
parent | remove older + keyword x86 (diff) | |
download | gentoo-2-6648825ecdd301a2306e1d0ea9c60d2e2e97aa92.tar.gz gentoo-2-6648825ecdd301a2306e1d0ea9c60d2e2e97aa92.tar.bz2 gentoo-2-6648825ecdd301a2306e1d0ea9c60d2e2e97aa92.zip |
add missing postfix.rc file
-rw-r--r-- | mail-mta/postfix/files/postfix.rc6.2.2.4 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/mail-mta/postfix/files/postfix.rc6.2.2.4 b/mail-mta/postfix/files/postfix.rc6.2.2.4 new file mode 100644 index 000000000000..06c8f6023276 --- /dev/null +++ b/mail-mta/postfix/files/postfix.rc6.2.2.4 @@ -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.4,v 1.1 2005/06/29 15:12:13 langthang 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 $? +} |