On Tuesday, March 7, 2023 8:37:31 AM CET Otto Kekäläinen wrote: > In this case the server is run automatically by the Akonadi package. > Thus the Akonadi package should do something about the server > stop/starts automatically. Surely the Akonadi package has some > facility that starts/stops the server? What is that facility? Can we > call it from the MariaDB server preinstall script to shut it down, and > from the postinstall script to start up again?
It is a user process run in a user session, so it is not something the package maintainers should touch. But akonadictl stop for all users in question would do it. Then remember which users you did it for, and akonadictl start afterwards for those users But I would expect that to end up as a severe policy violation; I don't have a reference handy though. Also be aware that the users mail client, calendar app and similar will be greyed out and text on top : "Akonadi not running" and then a giant button in the middle that says "start akonadi" tempting users to press it. And it does what it says on the tin. /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