Bug#438779: boinc-client: update of package should not start new version automatically
Frank S. Thomas
fst at debian.org
Thu May 15 14:36:37 UTC 2008
On Sunday 02 September 2007 16:59, Frank S. Thomas wrote:
> However, you propose to not restart the client on upgrades if it was not
> running when the update was initiated. Ok, on upgrades the client is
> stopped in the prerm of the old package and started in the postinst of the
> new package. How would you know in the postinst then whether the client was
> stopped by prerm or it was not running before the upgrade was initiated.
Another option would be instead of stopping the client on "prerm upgrade" and
starting it on "postinst configure" to only restart the client on upgrades
on "postinst configure <new_version>" (D-BUS does this for example). It
should then be possible to restart the client only if it was running before.
Cheers,
--
Frank S. Thomas <fst at debian.org> PGP public key ID: 0xDC426429
Debian Developer finger fst/key at db.debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-boinc-devel/attachments/20080515/61502ba8/attachment.pgp
More information about the pkg-boinc-devel
mailing list