Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 198662 Details for
Bug 272963
app-antivirus/clamav should have multiple initscripts
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
independent freshclam initscript
freshclam.rc (text/plain), 1.04 KB, created by
Nathan Phillip Brink (binki) (RETIRED)
on 2009-07-21 03:22:56 UTC
(
hide
)
Description:
independent freshclam initscript
Filename:
MIME Type:
Creator:
Nathan Phillip Brink (binki) (RETIRED)
Created:
2009-07-21 03:22:56 UTC
Size:
1.04 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > use net >} > >start() { > logfix > > ebegin "Starting freshclam" > start-stop-daemon --start --quiet \ > --nicelevel ${FRESHCLAM_NICELEVEL:-0} \ > --exec /usr/bin/freshclam -- -d > retcode=$? > if [ ${retcode} = 1 ]; then > eend 0 > einfo "Virus database already up to date." > else > eend ${retcode} > fi >} > >stop() { > ebegin "Stopping freshclam" > start-stop-daemon --stop --quiet --exec /usr/bin/freshclam > eend $? >} > >logfix() { > # fix freshclam log permissions > # (might be clobbered by logrotate or something) > logfile=`awk '$1 == "UpdateLogFile" { print $2 }' /etc/freshclam.conf` > local freshclam_user=`awk '$1 == "DatabaseOwner" { print $2 }' /etc/freshclam.conf` > if [ -n "${logfile}" -a -n "${clamav_user}" ]; then > if [ ! -f "${logfile}" ]; then > touch ${logfile} > fi > chown ${freshclam_user} ${logfile} > chmod 640 ${logfile} > 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 272963
:
198658
|
198660
| 198662