Up to you where you do it. /etc/init.d/squid is not part of Squid, it
is a custom script provided by RedHat as part of their integration.
If you make a nice integration of nice values into RedHat's init.d
scripts they quite likely will accept it as a contribution if given a
reason why it is a good idea..
I still don't understand why you want to give more priority to Squid.
Should not be needed on a normal system, and can prove to be quite
disardous if there ever is a problem with Squid.. Why one wants to
give less priority to Squid I understand, but not more..
Note: snice -10 or renice -10 is not the same thing as nice -10..
snice -10 is nice --10. See the nice manual. (yes, whoever came up
with these syntaxes must have been heavily toxicated)
Regards
Henrik
On Tuesday 28 May 2002 22:08, webmaster de l'intox wrote:
> thank for your answers
>
> with red hat 7.2, squid can be started by /sbin/service squid start
> with xinetd
>
> ok, i can change /etc/init.d/squid
> but, i don't want to change this
>
> i prefered to add a /etc/cron.daily/squid
> with the following command
> cat /var/run/squid.pid | xargs snice -10
>
> thank you
Received on Tue May 28 2002 - 16:17:14 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:15 MST