fixup after testing on nine:

- don't remove large files already after 7 days if they are in the "new/" folder
- report which mailbox is being checked so that "journalctl -u
  chatmail-expire.service" provides sufficient output for checking
- don't trigger expiry or fsreport services during cmdeploy-run but run it from timer only
This commit is contained in:
holger krekel
2025-10-21 21:47:44 +02:00
parent 0931da21b8
commit eb1424f944
4 changed files with 11 additions and 5 deletions

View File

@@ -161,9 +161,9 @@ def _install_remote_venv_with_chatmaild(config) -> None:
systemd.service(
name=f"Setup {basename}",
service=basename,
running=True,
running=enabled,
enabled=enabled,
restarted=True,
restarted=enabled,
daemon_reload=True,
)

View File

@@ -5,5 +5,5 @@ After=network.target
[Service]
Type=oneshot
User=vmail
ExecStart=/usr/local/lib/chatmaild/venv/bin/chatmail-expire /usr/local/lib/chatmaild/chatmail.ini --remove
ExecStart=/usr/local/lib/chatmaild/venv/bin/chatmail-expire /usr/local/lib/chatmaild/chatmail.ini -v --remove