standard locations for port files

Ernie Luzar luzar722 at gmail.com
Thu Aug 31 15:25:28 UTC 2017


Adam Weinberger wrote:
>> On 31 Aug, 2017, at 9:07, Ernie Luzar <luzar722 at gmail.com> wrote:
>>
>> Lets say I have a product that I want to port to Freebsd.
>>
>> Were is the standard location for the log file and PID file.
>>
>> Would it be in
>> /usr/local/etc/product/product.log
>> /usr/local/etc/product/product.pid
>>
>> or
>>
>> /var/log/product.log
>> /var/run/product.pid
> 
> It should be in /var. Many users keep /usr/local mounted read-only.
> 
> # Adam
> 
> 
Lets say /usr/local/etc/product/ is chrooted and the only thing in it is 
the product.conf. Is there any security benefit for chrooting that 
directory path?


More information about the freebsd-ports mailing list