[mail-filter] bump amavis and spamassassin to new versions
This commit is contained in:
24
mail-filter/amavisd-new/files/amavis-mc.initd
Normal file
24
mail-filter/amavisd-new/files/amavis-mc.initd
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/files/amavis-mc.initd,v 1.1 2012/11/07 12:55:15 eras Exp $
|
||||
|
||||
prog="/usr/sbin/amavis-mc"
|
||||
progname="amavis-mc"
|
||||
|
||||
depend() {
|
||||
use logger
|
||||
before amavisd-new snmpd
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${progname}"
|
||||
start-stop-daemon --start --exec ${prog}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${progname}"
|
||||
start-stop-daemon --stop --interpreted --exec ${prog}
|
||||
eend $?
|
||||
}
|
||||
45
mail-filter/amavisd-new/files/amavisd.initd-r1
Normal file
45
mail-filter/amavisd-new/files/amavisd.initd-r1
Normal file
@@ -0,0 +1,45 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/files/amavisd.initd-r1,v 1.1 2012/11/07 12:55:15 eras Exp $
|
||||
|
||||
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 $?
|
||||
}
|
||||
Reference in New Issue
Block a user