Re: Supported way to require that a service be stopped prior to installing an .rpm package?

2016-10-25 Thread Japheth Cleaver
On 10/25/2016 6:13 PM, jha...@gmail.com wrote: On 10/25/2016 4:47 PM, jhally(a)gmail.com wrote: https://fedoraproject.org/wiki/Packaging:Scriptlets It seems like this is something that could be done in %pretrans, as well. Alternatively, depending on the paradigm you're working with, you could

Re: Supported way to require that a service be stopped prior to installing an .rpm package?

2016-10-25 Thread jhally
> On 10/25/2016 4:47 PM, jhally(a)gmail.com wrote: > > https://fedoraproject.org/wiki/Packaging:Scriptlets > > It seems like this is something that could be done in %pretrans, as well. > Alternatively, > depending on the paradigm you're working with, you could give service restart > responsibili

Re: Supported way to require that a service be stopped prior to installing an .rpm package?

2016-10-25 Thread Japheth Cleaver
On 10/25/2016 4:47 PM, jha...@gmail.com wrote: Hello, My team is building and maintaining a fairly complex software stack that is being packaged via rpm. As part of the requirements, the service provided by the .rpm file must be stopped prior to installation / update of the package. Is there

Re: Supported way to require that a service be stopped prior to installing an .rpm package?

2016-10-25 Thread Subhendu Ghosh
Packaging methods should not be used for this requirement. You should be using some system automation tools like Ansible or Puppet or Chef to make that transaction complete smoothly. Openshift uses Ansible for their cluster upgrades. ___ devel mailing li

Supported way to require that a service be stopped prior to installing an .rpm package?

2016-10-25 Thread jhally
Hello, My team is building and maintaining a fairly complex software stack that is being packaged via rpm. As part of the requirements, the service provided by the .rpm file must be stopped prior to installation / update of the package. Is there any supported / recommended way to do this? Cur