Updated onInstall Shell Scripts
parent
07b92a1b36
commit
e6798a0d08
23
mbadmin.jps
23
mbadmin.jps
|
@ -1,12 +1,33 @@
|
||||||
type: update
|
type: update
|
||||||
id: mbadmin
|
id: mbadmin
|
||||||
version: '2.3'
|
version: '2.4'
|
||||||
name: MB Administration
|
name: MB Administration
|
||||||
description: Mighty Box Control Panel Administration
|
description: Mighty Box Control Panel Administration
|
||||||
|
|
||||||
targetNodes:
|
targetNodes:
|
||||||
nodeGroup: cp
|
nodeGroup: cp
|
||||||
|
|
||||||
|
onInstall:
|
||||||
|
- cmd[cp]:
|
||||||
|
user: root
|
||||||
|
commands:
|
||||||
|
- mkdir -p /home/litespeed/mbmanager
|
||||||
|
- mkdir -p /home/litespeed/mbmanager/relay
|
||||||
|
- cd /home/litespeed/mbmanager
|
||||||
|
- curl -O https://deploy-proxy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/litespeed_fetch_settings.sh
|
||||||
|
- curl -O https://deploy-proxy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/litespeed_update_settings.sh
|
||||||
|
- curl -O https://deploy-proxy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/update_opcache_settings.sh
|
||||||
|
- chmod +x /home/litespeed/mbmanager/*.sh
|
||||||
|
- cd /home/litespeed/mbmanager/relay
|
||||||
|
- curl -O https://deploy-proxy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/relay/check_relay_installation.sh
|
||||||
|
- curl -O https://deploy-proxy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/relay/check_relay_status.sh
|
||||||
|
- curl -O https://deploy-proxy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/relay/disable_relay.sh
|
||||||
|
- curl -O https://deploy-proxy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/relay/enable_relay.sh
|
||||||
|
- curl -O https://deploy-proxy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/relay/flush_caches.sh
|
||||||
|
- curl -O https://deploy-proxy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/relay/install_relay_ocp.sh
|
||||||
|
- curl -O https://deploy-proxy.mightybox.io/tony/mb-admin/raw/branch/main/scripts/relay/uninstall_relay.sh
|
||||||
|
- chmod +x /home/litespeed/mbmanager/relay/*.sh
|
||||||
|
|
||||||
menu:
|
menu:
|
||||||
- confirmText: Are you sure you want to execute this WP-CLI command?
|
- confirmText: Are you sure you want to execute this WP-CLI command?
|
||||||
loadingText: Executing WP-CLI command...
|
loadingText: Executing WP-CLI command...
|
||||||
|
|
Loading…
Reference in New Issue