122aef4dd95625505c6fa45e32a737bf2289d009
A Script For NCBA MSL
What the script can do
It is a boot menu as fast switch application environment and management
It provided a few of feature for application management
- Browse state of application
- Log in system as application user
- Startup application
- Stop applicaiton
- Colorful UI displays
Screenshot
Customized definition
# Default Group on Configuration center
conf_group="DEFAULT_GROUP"
# Location for configuration file store while auto pull from Configuration center
conf_directory="/home/ncbamsl/conf/"
# Configuration center's host
conf_center_host="10.0.0.13:9084"
# Communal configuration id
profile_common="common.properties"
# Application startup script
startup_script="${base_home}/bin/startApp-configclient.sh"
# Inject script (recommend don't change it)
inject_script=${base_home}/.inject.script
# Inject profile (recommend don't change it)
initrc=${base_home}/.injectrc
Dependency
-
expect
yum install -y expect -
unzip
yum install -y unzip
Feature coming soon
- Display application's version on menu
Languages
Shell
100%
