Search squid archive

Re: cant build squid 3.3.5 with external_acl_helper ldap_group on CentOS 6.4 64bits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, my new squid init script for CentOS is ready, I am sorry for the
delay, but, I have a lot of work here and only now had time to finish
the script.

I dont know if I can reach fedora people to try to check if this init
script can became a fedora standard and later RHEL/CentOS, if you know
someone please tell me.

Btw, I have added to the original script:
1. A simple mkdir to create the /var/run/squid, since now we have a
lot of ipc files that need to have squid access:
if [ ! -d $SQUID_PIDDIR ] ; then mkdir $SQUID_PIDDIR ; chown -R
$SQUID_USER.$SQUID_GROUP $SQUID_PIDDIR; fi

2. A killall on "stop" because if not the helper processes doesnt die:
killall -u $SQUID_USER

3. An "rm" to delete ipc files, since they still there when squid
stops and then the restart/start breaks:
rm -rf $SQUID_PIDDIR/*

Here it is:
http://pastebin.com/1C6mkuTw

I think that killall and rm -rf on squid pid files arent the best way
to go, but, it is the only I know that did it work properly. Can you
contribute to my script, or, even check if squid daemon could clean
the ipc files and kill the helper processes when it dies?
]
(maybe we should start a new trhead for this?)
--
Att...

Ricardo Felipe Klein
klein.rfk@xxxxxxxxx




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux