summaryrefslogtreecommitdiff
path: root/mail-filter/amavisd-new/files/amavisd.initd-r1
diff options
context:
space:
mode:
Diffstat (limited to 'mail-filter/amavisd-new/files/amavisd.initd-r1')
-rw-r--r--mail-filter/amavisd-new/files/amavisd.initd-r144
1 files changed, 0 insertions, 44 deletions
diff --git a/mail-filter/amavisd-new/files/amavisd.initd-r1 b/mail-filter/amavisd-new/files/amavisd.initd-r1
deleted file mode 100644
index d772433aa418..000000000000
--- a/mail-filter/amavisd-new/files/amavisd.initd-r1
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_started_commands="reload"
-extra_commands="debug debug_sa"
-
-prog="/usr/sbin/amavisd"
-progname="amavisd-new"
-
-depend() {
- use net logger antivirus snmpd
- before mta
-}
-
-start() {
- ebegin "Starting ${progname}"
- "${prog}" start
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${progname}"
- "${prog}" stop 1>/dev/null
- eend $?
-}
-
-reload() {
- ebegin "Reloading ${progname}"
- "${prog}" reload 1>/dev/null
- eend $?
-}
-
-debug() {
- ebegin "Starting ${progname} in debug mode"
- "${prog}" debug
- eend $?
-}
-
-debug_sa() {
- ebegin "Starting ${progname} in debug-sa mode"
- "${prog}" debug-sa
- eend $?
-}