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

[ben@trumpetpower.com: Re: 2 questions to squid from ports]



Gaah...repeat after  me, Ben: ``Be  sure brain  is in  gear before
engaging  keyboard.'' Apologies to  those on  misc@ who're  seeing
double.

b&

-- 
Ben Goren
 mailto:ben_(_at_)_trumpetpower_(_dot_)_com
 http://www.trumpetpower.com/
 icbm:33o25'37"N_111o57'32"W
--- Begin Message ---
On Sat, Mar 09, 2002 at 01:08:21PM +0000, A. Farber wrote:

> Hi,
>
> currently   squid  from   ports  says   to  install   this  into
> /etc/rc.local:
>
>     if [ -x /usr/local/bin/squid ]; then
> 	echo -n ' squid';       /usr/local/bin/squid &
>     fi
>
> 1) Is the ampersand & really needed?

Probably not, come  to think of it. But  I have it in  mine and it
certainly doesn't hurt. I wouldn't lose sleep over it either way.

> 2) Wouldn't  it be safer to  run squid as "www"  user, something
> like:

$ grep effective /etc/squid/squid.conf
#  TAG: cache_effective_user
#  TAG: cache_effective_group
#       If the cache is run as root, it will change its effective/real
cache_effective_user squid
cache_effective_group squid

> Regards
> Alex

Enjoy,

b&

--
Ben Goren
 mailto:ben_(_at_)_trumpetpower_(_dot_)_com
 http://www.trumpetpower.com/
 icbm:33o25'37"N_111o57'32"W

[demime 0.98d removed an attachment of type application/pgp-signature]

--- End Message ---

Attachment: pgpdelB6pcOfA.pgp
Description: PGP signature


Visit your host, monkey.org