Re: Restarting desktop session services on RPM upgrade?

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



On Fri, 2007-06-15 at 11:58 -0400, Alan Cox wrote:
> On Fri, Jun 15, 2007 at 11:44:55AM -0400, Havoc Pennington wrote:
> > 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.
> 
> init stats its own binary and librarie (or used to)

But that exposes you to a race condition as you don't know when all the
files have been upgraded and it requires inefficient periodic polling.
-- 
John Dennis <jdennis@xxxxxxxxxx>

-- 
Fedora-desktop-list mailing list
Fedora-desktop-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-desktop-list

[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux