Restarting services

Sergey Matveychuk sem at FreeBSD.org
Mon Sep 25 23:15:52 PDT 2006


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)
     },
  }

-- 
Dixi.
Sem.


More information about the freebsd-ports mailing list