standard locations for port files

Adam Weinberger adamw at adamw.org
Thu Aug 31 19:05:21 UTC 2017


> On 31 Aug, 2017, at 12:41, scratch65535 at att.net wrote:
> 
> 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.

... because many users keep /usr/local mounted read-only.

# Adam


-- 
Adam Weinberger
adamw at adamw.org
https://www.adamw.org


>> 
>> # Adam
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"



More information about the freebsd-ports mailing list