63 lines
1.1 KiB
Markdown
63 lines
1.1 KiB
Markdown
# 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
|
|
|
|
```bash
|
|
# 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
|
|
|
|
```bash
|
|
yum install -y expect
|
|
```
|
|
|
|
- unzip
|
|
|
|
```bash
|
|
yum install -y unzip
|
|
```
|
|
|
|
## Feature coming soon
|
|
|
|
- Display application's version on menu
|
|
|