Restarting services

Sergey Matveychuk sem at FreeBSD.org
Mon Sep 25 23:56:45 PDT 2006


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.


More information about the freebsd-ports mailing list