Re: Initscript migration to systemd: triggerun called on downgrade

2011-09-02 Thread Bill Nottingham
Petr Pisar (ppi...@redhat.com) said: > Then why does migration how-to use triggerun instead of triggerpostun? > I cannot see reason why the code should be executed on downgrade. %triggerpostun runs after the old version is uninstalled - you can't save any state then. Bill -- devel mailing list

Re: Initscript migration to systemd: triggerun called on downgrade

2011-09-02 Thread Petr Pisar
On 2011-09-02, Iain Arnell wrote: > On Fri, Sep 2, 2011 at 9:53 AM, Petr Pisar wrote: >> On 2011-09-01, Bill Nottingham wrote: >>> Petr Pisar (ppi...@redhat.com) said: I'm migrating quota_nld service (provided by quota_nld subpackage of quota spec) to systemd. Offical howto

Re: Initscript migration to systemd: triggerun called on downgrade

2011-09-02 Thread Iain Arnell
On Fri, Sep 2, 2011 at 9:53 AM, Petr Pisar wrote: > On 2011-09-01, Bill Nottingham wrote: >> Petr Pisar (ppi...@redhat.com) said: >>> I'm migrating quota_nld service (provided by quota_nld subpackage of >>> quota spec) to systemd. >>> >>> Offical howto >>>

Re: Initscript migration to systemd: triggerun called on downgrade

2011-09-02 Thread Petr Pisar
On 2011-09-01, Bill Nottingham wrote: > Petr Pisar (ppi...@redhat.com) said: >> I'm migrating quota_nld service (provided by quota_nld subpackage of >> quota spec) to systemd. >> >> Offical howto >>

Re: Initscript migration to systemd: triggerun called on downgrade

2011-09-01 Thread Bill Nottingham
Petr Pisar (ppi...@redhat.com) said: > I'm migrating quota_nld service (provided by quota_nld subpackage of > quota spec) to systemd. > > Offical howto > > recommends: >

Initscript migration to systemd: triggerun called on downgrade

2011-09-01 Thread Petr Pisar
I'm migrating quota_nld service (provided by quota_nld subpackage of quota spec) to systemd. Offical howto recommends: %triggerun -- httpd < 1.0-2 # Save the current ser