Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /etc/newsyslog.conf:
- file.replace:
- - path: /etc/newsyslog.conf
- - pattern: "^/var/log/vsftpd.log.*$"
- - repl: "/var/log/vsftpd.log 644 30 1024 * Z"
- - backup: ".bak"
- file.append:
- - text: |
- /var/log/apache2/filer-access_log 644 10 1024 * Z /var/apache2/run/httpd.pid 30
- /var/log/apache2/filer-error_log 644 10 1024 * Z /var/apache2/run/httpd.pid 30
- /var/log/apache2/filer-dc-access_log 644 10 1024 * Z /var/apache2/run/httpd.pid 30
- /var/log/apache2/filer-dc-error_log 644 10 1024 * Z /var/apache2/run/httpd.pid 30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement