Date: Tue, 27 Jun 2017 20:11:59 +0200 From: Matthias Fechner <idefix@fechner.net> To: freebsd-ports@freebsd.org Subject: Re: Should a package restart on upgrade itself Message-ID: <fe46c8ee-7d56-23ce-273b-4205e6183c0e@fechner.net> In-Reply-To: <4aad148bce4cfc626dea0d31bd62be41@acheronmedia.com> References: <b71469f3-dd9d-6680-f85e-a7acfcf9d944@fechner.net> <20170627163502.u2m4trqccbkri63j@ivaldir.net> <4aad148bce4cfc626dea0d31bd62be41@acheronmedia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 27.06.2017 um 18:50 schrieb Vlad K.: > Will this cover libraries as well? Eg. Libre/Open SSL upgrades, > restart all services that depend on it? > > Meanwhile, there's "lsop": thanks for this tool, that is indeed very helpful. Maybe it is a good idea if pkg collects the information from each package what should be restarted if: HANDLE_RC_SCRIPTS = true; is set. In this case it is the responsibility of the package maintainer to mark which service should be started if it was upgraded. And then do a single bulk restart operation at the end of the complete upgrade. Gruß 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?fe46c8ee-7d56-23ce-273b-4205e6183c0e>