delayed execution of post scripts
pmatilai at laiskiainen.org
Thu Sep 27 13:25:02 UTC 2012
On 09/27/2012 02:01 PM, Oguz Yilmaz wrote:
> We have 10 rpm packages for plugins of our master software. 11th rpm
> is master software's daemon rpm. Master daemon should be restarted
> after all rpms are updated. Update sequence is not deterministic and I
> can not add this restart in none of those rpms. Also I dont want to do
> 11 times restart.
> What do you suggest?
At least if master is a daemon rpm is always updated when plugins are,
you could use a %posttrans script to handle the restart. %posttrans runs
once the entire transaction has otherwise completed.
- Panu -
More information about the Rpm-list