aboutsummaryrefslogtreecommitdiffstats
path: root/main/amavisd-new/amavisd.init
diff options
context:
space:
mode:
authorElias Werberich <elias@werberich.de>2017-07-31 09:50:39 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-09-01 09:19:56 +0000
commit2ee0c2d51ba823872d385d98f03ac9395ce3b1e1 (patch)
treeb73c30ef5fb8b880b845aba9612436eaceb2633b /main/amavisd-new/amavisd.init
parentc7be5ce15555e9d8429bfc2546ed72a51b04f80b (diff)
downloadaports-2ee0c2d51ba823872d385d98f03ac9395ce3b1e1.tar.bz2
aports-2ee0c2d51ba823872d385d98f03ac9395ce3b1e1.tar.xz
main/amavisd-new: modernize openrc scripts
Diffstat (limited to 'main/amavisd-new/amavisd.init')
-rw-r--r--main/amavisd-new/amavisd.init23
1 files changed, 0 insertions, 23 deletions
diff --git a/main/amavisd-new/amavisd.init b/main/amavisd-new/amavisd.init
deleted file mode 100644
index 23f92af3f3..0000000000
--- a/main/amavisd-new/amavisd.init
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/runscript
-
-PIDFILE="/var/amavis/amavisd.pid"
-
-depend() {
- need net
- use logger
- use antivirus
- before mta
-}
-
-start() {
- ebegin "Starting amavisd-new"
- start-stop-daemon --start --quiet --name amavisd --pidfile ${PIDFILE} \
- --exec /usr/sbin/amavisd
- eend $?
-}
-
-stop() {
- ebegin "Stopping amavisd-new"
- start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
- eend $?
-}