Update instant login
parent
2109f5b423
commit
7f07384405
|
|
@ -1,6 +1,6 @@
|
|||
type: update
|
||||
id: mbadmin
|
||||
version: '2.6'
|
||||
version: '2.7'
|
||||
name: MB Administration
|
||||
description: Mighty Box Control Panel Administration
|
||||
|
||||
|
|
@ -27,6 +27,9 @@ onInstall:
|
|||
- if [ ! -f clear_opcache.php ]; then echo "Failed to download clear_opcache.php"; exit 1; fi
|
||||
- curl -OL https://deploy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/update_opcache_settings.sh
|
||||
- if [ ! -f update_opcache_settings.sh ]; then echo "Failed to download update_opcache_settings.sh"; exit 1; fi
|
||||
# Download MariaDB root password reset script
|
||||
- curl -OL https://deploy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/dbreset.sh
|
||||
- if [ ! -f dbreset.sh ]; then echo "Failed to download dbreset.sh"; exit 1; fi
|
||||
# Download WP search-replace wrapper script with verification
|
||||
- curl -OL https://deploy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/wp-search-replace.sh
|
||||
- if [ ! -f wp-search-replace.sh ]; then echo "Failed to download wp-search-replace.sh"; exit 1; fi
|
||||
|
|
@ -1007,10 +1010,11 @@ actions:
|
|||
- cmd[cp]:
|
||||
user: root
|
||||
commands:
|
||||
- bash /home/litespeed/mbmanager/scripts/dbreset.sh
|
||||
- bash /home/litespeed/mbmanager/pma-gateway/create_pma_gateway.sh --validity="${settings.validity}" $( [ -n "${settings.slug}" ] && echo --slug="${settings.slug}")
|
||||
- return:
|
||||
type: info
|
||||
message: "Gateway URL: ${response.out}"
|
||||
message: "${response.out}"
|
||||
|
||||
responses:
|
||||
enableSuccess:
|
||||
|
|
|
|||
Loading…
Reference in New Issue