Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 19902 Details for
Bug 32216
clamd.rc (0.6.0)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
clamd.rc
clamd (text/plain), 1.23 KB, created by
slyzer
on 2003-10-28 13:03:13 UTC
(
hide
)
Description:
clamd.rc
Filename:
MIME Type:
Creator:
slyzer
Created:
2003-10-28 13:03:13 UTC
Size:
1.23 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later > >depend() { > need net >} > >start() { > if [ "${START_CLAMD}" = "yes" ]; then > if [ -n "${CLAMD_LOG}" -a ! -f "${CLAMD_LOG}" ]; then > touch "${CLAMD_LOG}" > chown clamav.clamav "${CLAMD_LOG}" > fi > ebegin "Starting clamd" > start-stop-daemon --start --quiet \ > --exec /usr/sbin/clamd -- ${CLAMD_OPTS} 2&>/dev/null > eend $? "Failed to start clamd" > fi > if [ "${START_FRESHCLAM}" = "yes" ]; then > if [ -n "${FRESHCLAM_LOG}" -a ! -f "${FRESHCLAM_LOG}" ]; then > touch "${FRESHCLAM_LOG}" > chown clamav.clamav "${FRESHCLAM_LOG}" > FRESHCLAM_OPTS="${FRESHCLAM_OPTS} -l ${FRESHCLAM_LOG}" > fi > ebegin "Starting freshclam" > start-stop-daemon --start --quiet \ > --exec /usr/bin/freshclam -- ${FRESHCLAM_OPTS} -l ${FRESHCLAM_LOG} 2&>/dev/null > eend $? "Failed to start freshclam" > fi >} > >stop() { > if [ "${START_CLAMD}" = "yes" ]; then > ebegin "Stopping clamd" > start-stop-daemon --stop --quiet --name clamd > eend $? "Failed to stop clamd" > fi > if [ "${START_FRESHCLAM}" = "yes" ]; then > ebegin "Stopping freshclam" > start-stop-daemon --stop --quiet --name freshclam > eend $? "Failed to stop freshclam" > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 32216
: 19902