blob: c96f2aeb941e8da09ae5c7dfd87b3efccbe0a5aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/sbin/runscript
depend() {
need net
use logger
use antivirus
before mta
}
start() {
ebegin "Starting amavisd-new"
start-stop-daemon --start --quiet --name amavisd --pidfile /var/amavis/amavisd.pid \
--exec /usr/sbin/amavisd
eend $?
}
stop() {
ebegin "Stopping amavisd-new"
start-stop-daemon --stop --quiet --pidfile /var/amavis/amavisd.pid
eend $?
}
|