tech-pkg archive

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

Re: Webserver user/group




Le 07/04/2020 à 15:21, Greg Troxel a écrit :
> Frédéric Fauberteau <triaxx%NetBSD.org@localhost> writes:
> 
>>> I didn't misunderstand you.  I was really trying to ask if what you
>>> proposed was necessary, particularly for fpm where there can be a
>>> separate user.
>>
>> Particularly for fpm, no. Thanks to these discussions, I have now
>> FPM_USER=fpm and FPM_GROUP=www in my mk.conf.
>>
>>> It seems like after you figured out how to have each program have its
>>> own logs, there might not be any need for even group writability?
>>
>> Right.
> 
> Given that
> 
>   you resolved the issues
> 
>   there is no reason for php-fpm to prefer apache (it seems to me that
>   nginx is the standard approach when the real goal is to run php-fpm)
> 
> it seems that maybe we should make the FPM_USER=fpm FPM_GROUP=www config
> the default.
> 

I agree with that. These are now the definitions I have in my custom mk.conf.

Fred


Home | Main Index | Thread Index | Old Index