Date: Wed, 28 Jun 2017 09:37:32 +0200 From: Torsten Zuehlsdorff <mailinglists@toco-domains.de> To: Matthias Fechner <idefix@fechner.net>, FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: Should a package restart on upgrade itself Message-ID: <9192e422-deb0-e87e-93e7-30a7eeabe136@toco-domains.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
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 Greetings, Torsten
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9192e422-deb0-e87e-93e7-30a7eeabe136>