blob: aabb916dad91e361f7044bc254cc05d3c6d5ece4 (
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-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix/files/postfix.rc6,v 1.11 2003/09/24 05:08:51 max Exp $
opts="reload"
depend() {
need net
use logger dns ypbind
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 $?
}
|