https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /etc/logrotate.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //etc/logrotate.d/apache2
# Ansible managed

/var/log/apache2/*.log
{
  daily
  missingok
  rotate 14
  compress
  delaycompress
  notifempty
  create 640 root adm
  sharedscripts
  postrotate
    for i in $(ls -d /etc/apache2-* | sed 's/\/etc\/apache2\-//'); do \
      systemctl status apache2@"${i}" > /dev/null 2>&1 &&
      systemctl reload apache2@"${i}"
    done
  endscript
  prerotate
    if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
      run-parts /etc/logrotate.d/httpd-prerotate; \
    fi;
  endscript
}


https://t.me/RX1948 - 2025