From 3f2ed3c8f3f0cc07a6412991534f1f55c845af52 Mon Sep 17 00:00:00 2001 From: Anthony Date: Sat, 28 Feb 2026 16:18:50 +0800 Subject: [PATCH] fix: add install_redis.sh and object cache scripts to onInstall deployment --- mbadmin.jps | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mbadmin.jps b/mbadmin.jps index a8e9427..ea80cac 100644 --- a/mbadmin.jps +++ b/mbadmin.jps @@ -46,6 +46,12 @@ onInstall: - if [ ! -f manage_litespeed.php ]; then echo "Failed to download manage_litespeed.php"; exit 1; fi - curl -OL https://deploy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/check_redis.php - if [ ! -f check_redis.php ]; then echo "Failed to download check_redis.php"; exit 1; fi + - curl -OL https://deploy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/install_redis.sh + - if [ ! -f install_redis.sh ]; then echo "Failed to download install_redis.sh"; exit 1; fi + - curl -OL https://deploy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/configure_litespeed_plugin_object_cache.sh + - if [ ! -f configure_litespeed_plugin_object_cache.sh ]; then echo "Failed to download configure_litespeed_plugin_object_cache.sh"; exit 1; fi + - curl -OL https://deploy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/configure_litespeed_redis_object_cache.sh + - if [ ! -f configure_litespeed_redis_object_cache.sh ]; then echo "Failed to download configure_litespeed_redis_object_cache.sh"; exit 1; fi - curl -OL https://deploy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/litespeed_metrics.sh - if [ ! -f litespeed_metrics.sh ]; then echo "Failed to download litespeed_metrics.sh"; exit 1; fi - chmod +x *.php *.sh