/home/node/node-v20.17.0-linux-x64/lib/node_modules/pm2/bin/pm2  install pm2-logrotate
/home/node/node-v20.17.0-linux-x64/lib/node_modules/pm2/bin/pm2 set pm2-logrotate:rotateInterval '0 0 * * *'
/home/node/node-v20.17.0-linux-x64/lib/node_modules/pm2/bin/pm2 set pm2-logrotate:dateFormat 'YYYY-MM-DD'
/home/node/node-v20.17.0-linux-x64/lib/node_modules/pm2/bin/pm2 set pm2-logrotate:max_size '10M'
/home/node/node-v20.17.0-linux-x64/lib/node_modules/pm2/bin/pm2 set pm2-logrotate:retain '30'
/home/node/node-v20.17.0-linux-x64/lib/node_modules/pm2/bin/pm2 set pm2-logrotate:compress true
/home/node/node-v20.17.0-linux-x64/lib/node_modules/pm2/bin/pm2 set pm2-logrotate:workerInterval '30'