Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.66 KB | None | 0 0
  1.  
  2. /etc/newsyslog.conf:
  3.   file.replace:
  4.     - path: /etc/newsyslog.conf
  5.     - pattern: "^/var/log/vsftpd.log.*$"
  6.     - repl: "/var/log/vsftpd.log                     644  30    1024 *     Z"
  7.     - backup: ".bak"
  8.   file.append:
  9.     - text: |
  10.        /var/log/apache2/filer-access_log       644  10    1024 *     Z     /var/apache2/run/httpd.pid 30
  11.         /var/log/apache2/filer-error_log        644  10    1024 *     Z     /var/apache2/run/httpd.pid 30
  12.         /var/log/apache2/filer-dc-access_log    644  10    1024 *     Z     /var/apache2/run/httpd.pid 30
  13.         /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