cleanup: clean also service logs

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-03-11 12:11:39 +01:00
parent 968c174ba0
commit 3a277cebd6
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
command: journalctl --vacuum-time=1d command: journalctl --vacuum-time=1d
- name: Remove log gzipped archives - name: Remove log gzipped archives
shell: 'rm -f /var/log/*.gz /var/log/nginx/*.gz /var/log/docker/*/*.gz' shell: 'rm -f /var/log/*.gz /var/log/nginx/*.gz /var/log/docker/*/*.gz /var/log/service/*/*.gz'
- name: Remove unused Docker images - name: Remove unused Docker images
shell: 'docker image prune -f -a' shell: 'docker image prune -f -a'