Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2006 10:15:49 +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:  <4518C595.6010200@FreeBSD.org>
In-Reply-To: <20060925100142.GC94311@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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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