This script will help you to get your server disk space cleaned from old and active logs.
* WARNING!!! It will delete all server logs!
This script deletes:
- messages logs
- maillog logs
- apache/nginx domain logs
- apache standard logs
- php-fpm logs
- /tmp and session logs
- root maillog
- acme/letsencrypt logs
- cwp logs
Usage:
sh /scripts/clean_all_server_logs