blob: 74df0aa8ef971702d9acef07ce271ba5228e8f06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
need clamd
}
start() {
ebegin "Starting ClamSMTPd"
start-stop-daemon --start --quiet \
--exec /usr/sbin/clamsmtpd -- -p /var/run/clamav/clamsmtpd.pid -f /etc/clamsmtpd.conf
eend $?
}
stop() {
ebegin "Stopping ClamSMTPd"
start-stop-daemon --stop --quiet --pidfile /var/run/clamav/clamsmtpd.pid
eend $?
}
|