From owner-freebsd-ports@FreeBSD.ORG Mon Sep 25 09:25:04 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 037D316A403 for ; Mon, 25 Sep 2006 09:25:03 +0000 (UTC) (envelope-from a.pirko@inode.at) Received: from mx.inode.at (lb01nat17.inode.at [62.99.145.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6539243D70 for ; Mon, 25 Sep 2006 09:25:00 +0000 (GMT) (envelope-from a.pirko@inode.at) Received: from [85.124.24.139] (port=16030 helo=[192.168.1.11]) by smartmx-15.inode.at with esmtp (Exim 4.50) id 1GRmhr-0006sd-Ij; Mon, 25 Sep 2006 11:24:55 +0200 Message-ID: <4517A064.5080201@inode.at> Date: Mon, 25 Sep 2006 11:24:52 +0200 From: Armin Pirkovitsch User-Agent: Thunderbird 1.5.0.7 (X11/20060916) MIME-Version: 1.0 To: Rene Ladan References: <200609251035.15484.erwin.vandevelde@ua.ac.be> In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, Erwin Van de Velde Subject: Re: Restarting services 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: Mon, 25 Sep 2006 09:25:04 -0000 Rene Ladan wrote: > 2006/9/25, Erwin Van de Velde : >> Dear all, >> >> Almost every port containing a service stops the service before >> updating but >> does not restart it afterwards. I was wondering how difficult it can >> be to >> restart the updated service after installing the files? In my opinion, it >> would be less error-prone than hoping for the administrator to remember >> restarting all updated services... >> While this depends on every port maintainer, a general guideline about >> this >> would help and encourage maintainers to do this. >> > Sometimes the configuration changes, making it inadvisable to > automatically restart the service. But automatic restarting should be > possible/desirable (IMO) if the configuration remains the same. Well each server/service would need a program to check the syntax of the current config file to ensure that it will work. Otherwise, imho, you could only try and error which is not a clean solution. -- Armin Pirkovitsch a.pirko@inode.at