From owner-freebsd-ports@FreeBSD.ORG Sun Mar 23 13:52:20 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 837161065670 for ; Sun, 23 Mar 2008 13:52:20 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 3C7558FC1B for ; Sun, 23 Mar 2008 13:52:19 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 21FCE19E023 for ; Sun, 23 Mar 2008 14:52:18 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTP id 196AA19E019 for ; Sun, 23 Mar 2008 14:52:16 +0100 (CET) Message-ID: <47E660A3.3050805@quip.cz> Date: Sun, 23 Mar 2008 14:52:35 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: portmaster and restarting of upgraded daemons X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2008 13:52:20 -0000 I am almost new to portmaster, so I got a question - is there any possibility to restart installed services as in portupgrade with defined BEFOREBUILD / BEFOREDEINSTALL / AFTERINSTALL? Or is there any future plan to do so? It is annoying if I end up with some dead services after upgrade just because I forgot to manualy do /usr/local/etc/rc.d/some_daemon restart Next question - is there any documentation for portmaster.rc / .portmasterrc? I can't find any documentation for it on the internet, just some notices to search in portmaster script (source file) for "while getopts", where variables are defined, but it is not usual way to get documentation ;) And last question - /etc/portmaster.rc - is it realy right place according to man hier? I would expect it in /usr/local/etc/portmaster.rc. Miroslav Lachman