Skip to content

Commit

Permalink
journald: remove old logs from disk.
Browse files Browse the repository at this point in the history
fix #486
  • Loading branch information
missytake committed Feb 16, 2025
1 parent 5633582 commit 0c56bea
Showing 1 changed file with 5 additions and 0 deletions.
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 0c56bea

Please sign in to comment.