standard locations for port files
mat at FreeBSD.org
Thu Aug 31 16:05:32 UTC 2017
Le 31/08/2017 à 17:25, Ernie Luzar a écrit :
> 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
>> 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?
The etc directory is for configuration files and scripts, that is, files
that almost never changes. Do *not* put pid or log files in there.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 949 bytes
Desc: OpenPGP digital signature
More information about the freebsd-questions