Should a package restart on upgrade itself

Franco Fichtner franco at
Tue Jun 27 16:32:33 UTC 2017

Hi Matthias,

As far as I know, pkg package scripts' runaway processes are
reaped since a few versions, so you can't restart from there

Maybe there is a way to detach correctly, I don't know.


> On 27. Jun 2017, at 6:29 PM, Matthias Fechner <idefix at> wrote:
> Dear all,
> it is always a pain if pkg upgrade a lot of packages to restart all
> services to make sure update/security fixes are applied to all running
> services.
> Is there an option in pkg that it restart services automatically or is
> it OK if I would add a post-install script to the packages (I maintain)
> that will include a "service foo restart"?
> What is best practice here?
> Thanks
> Matthias
> -- 
> "Programming today is a race between software engineers striving to
> build bigger and better idiot-proof programs, and the universe trying to
> produce bigger and better idiots. So far, the universe is winning." --
> Rich Cook
> _______________________________________________
> freebsd-ports at mailing list
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at"

More information about the freebsd-ports mailing list