blob: 2d7c1319f600a26e4c2f6e2b1456368b3768e63e (
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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail/files/1.03-r5/qmail-control,v 1.2 2001/12/06 20:17:02 azarah Exp $
opts="start stop restart reload"
start() {
ebegin "Starting qmail mta ..."
svc -u /var/qmail/supervise/*
eend $?
ebegin "Starting qmail mta logging ..."
svc -u /var/qmail/supervise/*/log
eend $?
}
stop() {
ebegin "Stopping qmail mta ..."
svc -d /var/qmail/supervise/*
eend $?
ebegin "Stopping qmail mta logging ..."
svc -d /var/qmail/supervise/*/log
eend $?
}
reload() {
ebegin "Reloading 'locals' and 'virtualdomains' control files."
svc -h /var/qmail/supervise/qmail-send
eend $?
}
|