Date: Tue, 27 Jun 2017 18:32:22 +0200 From: Franco Fichtner <franco@lastsummer.de> To: Matthias Fechner <idefix@fechner.net> Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: Should a package restart on upgrade itself Message-ID: <D21BFFC6-7F20-45C7-91A8-8FBD6E727346@lastsummer.de> In-Reply-To: <b71469f3-dd9d-6680-f85e-a7acfcf9d944@fechner.net> References: <b71469f3-dd9d-6680-f85e-a7acfcf9d944@fechner.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 anymore. Maybe there is a way to detach correctly, I don't know. Cheers, Franco > On 27. Jun 2017, at 6:29 PM, Matthias Fechner <idefix@fechner.net> 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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D21BFFC6-7F20-45C7-91A8-8FBD6E727346>