Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2006 10:56:41 +0400
From:      Sergey Matveychuk <sem@FreeBSD.org>
To:        vd@FreeBSD.org
Cc:        Erwin Van de Velde <erwin.vandevelde@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: Restarting services
Message-ID:  <4518CF29.4090102@FreeBSD.org>
In-Reply-To: <20060926063142.GA90147@qlovarnika.bg.datamax>
References:  <200609251035.15484.erwin.vandevelde@ua.ac.be> <20060925092647.GB94311@qlovarnika.bg.datamax> <200609251147.46990.erwin.vandevelde@gmail.com> <20060925100142.GC94311@qlovarnika.bg.datamax> <4518C595.6010200@FreeBSD.org> <20060926063142.GA90147@qlovarnika.bg.datamax>

next in thread | previous in thread | raw e-mail | index | archive | help
Vasil Dimov wrote:
> On Tue, Sep 26, 2006 at 10:15:49AM +0400, Sergey Matveychuk wrote:
>> Vasil Dimov wrote:
>>> One could always minimize downtime by doing
>>> portupgrade xyz && /usr/local/etc/rc.d/xyz start
>>>
>> You should not do it with portupgrade. Just add the lines in pkgtools.conf:
>>
>>   AFTERINSTALL = {
>>      '*' => proc { |origin|
>>        cmd_start_rc(origin)
>>      },
>>   }
>>
> 
> Yes, this is just another way to minimize downtime. I guess there are
> at least a few others too.
> 
> Thanks for pointing this, I wasn't aware of it :)
> 

Please note, I've created a Tips section on
http://wikitest.freebsd.org/portupgrade. Feel free to add there tips
about portupgrade and tools.

-- 
Dixi.
Sem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4518CF29.4090102>