mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 03:09:39 +08:00
Limit the pm2 log size
This commit is contained in:
@@ -159,7 +159,7 @@ fi
|
||||
check=$(pm2 --version)
|
||||
if [ "$check" == "" ]; then
|
||||
"echo" "-e" "Installing PM2"
|
||||
npm install pm2 -g
|
||||
npm install pm2 -g && pm2 install pm2-logrotate
|
||||
pm2 startup
|
||||
fi
|
||||
mkdir -p $installPath
|
||||
|
Reference in New Issue
Block a user