[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Restarting desktop session services on RPM upgrade?



The Mugshot client daemon does this itself by installing a file called "version" with the package version, and if said file changes it restarts itself.

The version file doesn't have the RPM release in it, but presumably could.

An advantage of this approach is that it doesn't require magic in the spec file, though presumably it has downsides too. One downside is that the restart can be a bit too early (before the upgrade is complete).

Havoc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]