standard locations for port files

scratch65535 at att.net scratch65535 at att.net
Thu Aug 31 18:43:52 UTC 2017


Why wouldn't  logs be in /usr/local/var/...?  Given that all
other port "stuff" is under /usr/local, what advantage is there
in making logs an exception?

[Default] On Thu, 31 Aug 2017 09:16:20 -0600, Adam Weinberger
<adamw at adamw.org> 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


More information about the freebsd-ports mailing list