Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2017 17:16:20 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Ernie Luzar <luzar722@gmail.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: standard locations for port files
Message-ID:  <59A82844.3070104@quip.cz>
In-Reply-To: <59A82622.4030502@gmail.com>
References:  <59A82622.4030502@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59A82844.3070104>