Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 28881 Details for
Bug 43362
dansguardian-2.7.7.ebuild with ClamAv (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
An excellent init.d script by tomk, fixes starting squid first!
dansguardian (text/plain), 1.49 KB, created by
Remco Barendse
on 2004-04-08 03:46:11 UTC
(
hide
)
Description:
An excellent init.d script by tomk, fixes starting squid first!
Filename:
MIME Type:
Creator:
Remco Barendse
Created:
2004-04-08 03:46:11 UTC
Size:
1.49 KB
patch
obsolete
>#!/sbin/runscript ># ># Startup script for dansguardian ># ># chkconfig: 35 92 8 ># description: A web content filtering plugin for web \ ># proxies, developed to filter using lists of \ ># banned phrases, MIME types, filename \ ># extensions and PICS labling. ># processname: dansguardian ># pidfile: /var/run/dansguardian.pid ># config: /etc/dansguardian/dansguardian.conf > >CONFFILELOCATION=/etc/dansguardian/ >BINARYLOCATION=/usr/sbin/ >PIDDIR=/var/run/ > >## make sure squid is loaded >depend() { > need squid net >} > >start() { > if [ -f ${BINARYLOCATION}dansguardian ] && > [ -f ${CONFFILELOCATION}dansguardian.conf ]; then > ebegin "Starting dansguardian" > ${BINARYLOCATION}dansguardian 2> /dev/null > rtnval=${?} > eend ${rtnval} > > if [[ rtnval == 0 ]]; then > [ -d /var/lock/subsys ] && touch /var/lock/subsys/dansguardian > fi > fi >} > >stop() { > ebegin "Shutting down dansguardian" > ${BINARYLOCATION}dansguardian -q 2> /dev/null > rtnval=${?} > eend ${rtnval} > > if [[ rtnval == 0 ]]; then > /bin/rm -f ${PIDDIR}dansguardian.pid > /bin/rm -f /tmp/.dguardianipc > [ -d /var/lock/subsys ] && /bin/rm -f /var/lock/subsys/dansguardian > fi >} > >status() { > if [ -f ${BINARYLOCATION}dansguardian ]; then > ${BINARYLOCATION}dansguardian -s > 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 43362
:
26668
|
26669
|
26670
|
26673
| 28881 |
29314
|
29315
|
34629