blob: d7f911ee2b627a7096f20c9b34c3773642c42426 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/sbin/runscript
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
depend() {
use logger
need clamd
}
start() {
ebegin "Starting clamfs"
start-stop-daemon --start --quiet \
--exec /usr/bin/clamfs -- ${CLAMFS_CONFFILE}
eend $? "Failed to start clamfs"
}
stop() {
ebegin "Stopping clamfs"
start-stop-daemon --stop --quiet --name clamfs
eend $? "Failed to stop clamfs"
}
|