From owner-freebsd-ports@freebsd.org Thu Aug 31 15:16:32 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61423E20F63; Thu, 31 Aug 2017 15:16:32 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 277E280453; Thu, 31 Aug 2017 15:16:31 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 68EF128460; Thu, 31 Aug 2017 17:16:23 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 7C1E42846D; Thu, 31 Aug 2017 17:16:21 +0200 (CEST) Subject: Re: standard locations for port files To: Ernie Luzar , "freebsd-questions@freebsd.org" , "freebsd-ports@freebsd.org" References: <59A82622.4030502@gmail.com> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <59A82844.3070104@quip.cz> Date: Thu, 31 Aug 2017 17:16:20 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <59A82622.4030502@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 15:16:32 -0000 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