Skip to content

Commit

Permalink
journald: remove old logs from disk. (#490)
Browse files Browse the repository at this point in the history
fix #486
  • Loading branch information
missytake authored Feb 16, 2025
1 parent 1a35cdc commit 42bfb9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
5 changes: 5 additions & 0 deletions cmdeploy/src/cmdeploy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 42bfb9f

Please # to comment.