Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2017 18:29:24 +0200
From:      Matthias Fechner <idefix@fechner.net>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Should a package restart on upgrade itself
Message-ID:  <b71469f3-dd9d-6680-f85e-a7acfcf9d944@fechner.net>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b71469f3-dd9d-6680-f85e-a7acfcf9d944>