Release of EvoBSD 6.8.0 #37
15
roles/base/files/newsyslog.conf
Normal file
15
roles/base/files/newsyslog.conf
Normal file
|
@ -0,0 +1,15 @@
|
|||
# EvoBSD configuration file for newsyslog
|
||||
#
|
||||
# logfile_name owner:group mode count size when flags
|
||||
/var/cron/log root:wheel 600 52 * $W1 Z
|
||||
/var/log/authlog root:wheel 640 52 * $W1 Z
|
||||
/var/log/daemon 640 365 * $D0 Z
|
||||
/var/log/lpd-errs 640 7 * $D0 Z
|
||||
/var/log/maillog 640 52 * $W1 Z
|
||||
/var/log/messages 644 365 * $D0 Z
|
||||
/var/log/secure 600 52 * $W1 Z
|
||||
/var/log/wtmp 644 7 * $D0 B
|
||||
/var/log/xferlog 640 7 * $D0 Z
|
||||
/var/log/pflog 600 30 * $D0 ZB "pkill -HUP -u root -U root -t - -x pflogd"
|
||||
/var/www/logs/access.log 644 52 * $W1 Z "pkill -USR1 -u root -U root -x httpd"
|
||||
/var/www/logs/error.log 644 52 * $W1 Z "pkill -USR1 -u root -U root -x httpd"
|
|
@ -7,3 +7,4 @@
|
|||
- include: mail.yml
|
||||
- include: sudo.yml
|
||||
- include: evobackup.yml
|
||||
- include: newsyslog.yml
|
||||
|
|
7
roles/base/tasks/newsyslog.yml
Normal file
7
roles/base/tasks/newsyslog.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: Customize newsyslog
|
||||
copy:
|
||||
src: newsyslog.conf
|
||||
dest: /etc/newsyslog.conf
|
||||
tags:
|
||||
- newsyslog
|
Loading…
Reference in a new issue