feat: implement bandwidth enforcement mechanism in Proxmox server component to throttle servers exceeding usage limits, enhancing resource management

This commit is contained in:
2025-12-04 08:24:10 -05:00
parent 4b0f3e0621
commit da1f74365a
3 changed files with 208 additions and 1 deletions

View File

@@ -48,7 +48,8 @@ EOF
"$git_cache"
;;
5)
LOG_FILE="${SCRIPT_DIR}/storage/logs/laravel.log"
LOG_DATE=$(date +%Y-%m-%d)
LOG_FILE="${SCRIPT_DIR}/storage/logs/laravel-${LOG_DATE}.log"
if [ -f "$LOG_FILE" ]; then
> "$LOG_FILE"
echo "Log file cleared successfully: $LOG_FILE"