On Monday, June 16, 2025 1:17:13 PM CEST Otto Kekäläinen wrote: > In Debian packaging we can't do anything about upstream capability to > recover from crashes. Please suggest what exact Akonadi service > starts/stops the database and how we can ask Akonadi to shutdown before > server upgrade. At least it would cover the common case if regular upgrades.
What you are asking is "How to ensure all logged in users email & contacts & calendar applications are stopped before upgrading a package" I don't think I can come up with a policy compliant way of doing that. but `akonadictl stop` for each user after connecting to their dbus session should do it from a technical point of view. Maybe first diverting some files to prevent the user from starting them up again, and then diverting back once upgraded. But all of this is a bit euww. /Sune -- I didn’t stop pretending when I became an adult, it’s just that when I was a kid I was pretending that I fit into the rules and structures of this world. And now that I’m an adult, I pretend that those rules and structures exist. - zefrank