blob: 60a6c71f95757ad35296e9fd7ddbea77160cdaaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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.2 2005/07/07 02:27:10 ticho Exp $
opts="${opts} reload"
depend() {
use 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 $?
}
|