Should a package restart on upgrade itself

Torsten Zuehlsdorff mailinglists at
Wed Jun 28 07:37:39 UTC 2017

On 27.06.2017 18:29, Matthias Fechner 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"?

Since the number of services is limited i do in such scenarios you 
described (or in doubt) a simple:
# service -R


More information about the freebsd-ports mailing list