standard locations for port files

Miroslav Lachman 000.fbsd at quip.cz
Thu Aug 31 15:16:32 UTC 2017


Ernie Luzar wrote on 2017/08/31 17:07:
> 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

The later is more correct and most of the ports do this. Let's see 
Apache as example:

/var/run/httpd.pid
/var/log/httpd-error.log

Miroslav Lachman



More information about the freebsd-ports mailing list