From owner-freebsd-ports@FreeBSD.ORG Tue Sep 19 08:43:45 2006 Return-Path: X-Original-To: freebsd-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 ED0E216A51B for ; Tue, 19 Sep 2006 08:43:45 +0000 (UTC) (envelope-from dsymonds@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B65B43D4C for ; Tue, 19 Sep 2006 08:43:45 +0000 (GMT) (envelope-from dsymonds@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so5317194pye for ; Tue, 19 Sep 2006 01:43:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CmlyVxEbC9b5lSlPjHkatjEeETQxvXXiCVz1ir7cIzM0WFrdwNnZcu3Hfl1qYz7J2OSxU8zpmUORHBoYRO8YAqcij7H+/w2HsS75iyS+X3cgrd40EnmzhaU7c7m8UNaHvtPtZuE7/W4/NiOXIxOsrk6D+yKI/fLmR8MzI5OEWZs= Received: by 10.35.33.15 with SMTP id l15mr25609003pyj; Tue, 19 Sep 2006 01:43:44 -0700 (PDT) Received: by 10.35.117.3 with HTTP; Tue, 19 Sep 2006 01:43:44 -0700 (PDT) Message-ID: Date: Tue, 19 Sep 2006 18:43:44 +1000 From: "David Symonds" To: "Hans F. Nordhaug" In-Reply-To: <20060919075020.GA27670@hiMolde.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <450F7A78.5020007@gneto.com> <20060919074600.GA720@turion.vk2pj.dyndns.org> <20060919075020.GA27670@hiMolde.no> Cc: freebsd-ports@freebsd.org Subject: Re: portupgrade and starting servers after upgrade. 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: Tue, 19 Sep 2006 08:43:46 -0000 On 9/19/06, Hans F. Nordhaug wrote: > Good point, but isn't it as easy to check the status before stopping > it: "/usr/local/etc/rc.d/.... status"? You could even check the > reported pid. If the status is in some way unclear to portupgrade, > portupgrade could warn the user - "Service X not started again - > unknown status". Or am I doing it too easy? Especially since daemon configuration changes from time to time, you can't necessarily restart a daemon at all after an upgrade. Dave. -- "Strange women lying in ponds distributing swords is no basis for a system of government."