try fix CI

This commit is contained in:
holger krekel
2025-10-21 16:49:23 +02:00
parent 0aa255e3f1
commit 11a8f8cf9e
4 changed files with 17 additions and 3 deletions

View File

@@ -153,11 +153,16 @@ def _install_remote_venv_with_chatmaild(config) -> None:
dest=f"/etc/systemd/system/{basename}",
**root_owned,
)
if fn == "chatmail-expire" or fn == "chatmail-fsreport":
# don't auto-start but let the corresponding timer trigger execution
enabled = False
else:
enabled = True
systemd.service(
name=f"Setup {basename}",
service=basename,
running=True,
enabled=True,
enabled=enabled,
restarted=True,
daemon_reload=True,
)

View File

@@ -3,7 +3,6 @@ Description=Run Daily chatmail-expire job
[Timer]
OnCalendar=*-*-* 00:02:00
Persistent=true
[Install]
WantedBy=timers.target