yanwei li, 04/27/2022 03:15 PM
#!/bin/sh
find /var/log/nginx -mtime +7 -type f -name \*.log | xargs rm -f
nginx -s reload