cron: add logrotate (and cpulimit) package
This commit is contained in:
parent
0b9a54783e
commit
0063c13a4d
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Reference in New Issue