diff --git a/CHANGELOG.md b/CHANGELOG.md index f38c8992..697558e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ - cmdeploy dns: offer alternative DKIM record format for some web interfaces ([#470](https://github.com/deltachat/chatmail/pull/470)) +- journald: remove old logs from disk + ([#490](https://github.com/deltachat/chatmail/pull/490)) + - migration guide: let opendkim own the DKIM keys directory ([#468](https://github.com/deltachat/chatmail/pull/468)) diff --git a/cmdeploy/src/cmdeploy/__init__.py b/cmdeploy/src/cmdeploy/__init__.py index f89f169f..783a5405 100644 --- a/cmdeploy/src/cmdeploy/__init__.py +++ b/cmdeploy/src/cmdeploy/__init__.py @@ -705,6 +705,11 @@ def deploy_chatmail(config_path: Path, disable_mail: bool) -> None: enabled=True, restarted=journald_conf.changed, ) + files.directory( + name="Ensure old logs on disk are deleted", + path="/var/log/journal/", + present=False, + ) apt.packages( name="Ensure cron is installed",