cron: add logrotate (and cpulimit) package

This commit is contained in:
Hoang Nguyen 2022-06-21 23:44:16 +07:00
parent 0b9a54783e
commit 0063c13a4d
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
2 changed files with 7 additions and 2 deletions

View File

@ -25,6 +25,11 @@
mode: 0755
when: rootfs == 'btrfs'
- name: cron | Install logrotate and cpulimit
apk:
name: logrotate, cpulimit
state: present
- name: cron | Add crond service to runlevel 'default'
service:
name: crond

View File

@ -149,12 +149,12 @@ log_level = 2
## This file is different from other log files, and will not be
## automatically rotated by the application.
log_file = '/var/log/dnscrypt-proxy/dnscrypt-proxy.log'
# log_file = '/var/log/dnscrypt-proxy/dnscrypt-proxy.log'
## When using a log file, only keep logs from the most recent launch.
log_file_latest = true
# log_file_latest = true
## Use the system logger (syslog on Unix, Event Log on Windows)