summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Goodyear <g2boojum@gentoo.org>2002-06-10 20:14:43 +0000
committerGrant Goodyear <g2boojum@gentoo.org>2002-06-10 20:14:43 +0000
commitcad10b1d2e1caf9ec1aa4d885705628c84c97139 (patch)
tree4fa33529789d9c3fc15fede9478f64f506861ab0 /net-mail/qmail/files/1.03-r8/qmail-control
parentupdated gentoo mirror URI (diff)
downloadgentoo-2-cad10b1d2e1caf9ec1aa4d885705628c84c97139.tar.gz
gentoo-2-cad10b1d2e1caf9ec1aa4d885705628c84c97139.tar.bz2
gentoo-2-cad10b1d2e1caf9ec1aa4d885705628c84c97139.zip
Closing bug #3416.
Diffstat (limited to 'net-mail/qmail/files/1.03-r8/qmail-control')
-rw-r--r--net-mail/qmail/files/1.03-r8/qmail-control30
1 files changed, 30 insertions, 0 deletions
diff --git a/net-mail/qmail/files/1.03-r8/qmail-control b/net-mail/qmail/files/1.03-r8/qmail-control
new file mode 100644
index 000000000000..35a2c785d622
--- /dev/null
+++ b/net-mail/qmail/files/1.03-r8/qmail-control
@@ -0,0 +1,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-r8/qmail-control,v 1.1 2002/06/10 20:14:43 g2boojum 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 $?
+}