Restarting services

Vasil Dimov vd at FreeBSD.org
Mon Sep 25 23:31:46 PDT 2006


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 :)

-- 
Vasil Dimov
gro.DSBeerF at dv
%
In 1968 it took the computing-Power of 2 C-64 to fly a rocket to the moon.
Now, 1997 it takes the Power of a Pentium 133 to run Microsoft Windows 95.
                    Something must have gone wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060926/ccf8962e/attachment.pgp


More information about the freebsd-ports mailing list