Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts name standardization #813

Merged
merged 8 commits into from
Sep 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/en_US/backend-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Configure SSH secret-free login on deployment machines and other installation ma
Execute scripts for creating tables and importing basic data

```
sh ./script/create_escheduler.sh
sh ./script/create-escheduler.sh
```

#### Preparations 5: Modify the deployment directory permissions and operation parameters
Expand Down Expand Up @@ -158,11 +158,11 @@ After normal compilation, ./target/escheduler-{version}/ is generated in the cur

* stop all services in the cluster

` sh ./bin/stop_all.sh`
` sh ./bin/stop-all.sh`

* start all services in the cluster

` sh ./bin/start_all.sh`
` sh ./bin/start-all.sh`

* start and stop one master server

Expand Down Expand Up @@ -201,7 +201,7 @@ sh ./bin/escheduler-daemon.sh stop alert-server
Database upgrade is a function added in version 1.0.2. The database can be upgraded automatically by executing the following command:

```upgrade
sh ./script/upgrade_escheduler.sh
sh ./script/upgrade-escheduler.sh
```


4 changes: 2 additions & 2 deletions docs/en_US/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

## 2. Stop all services of escheduler

`sh ./script/stop_all.sh`
`sh ./script/stop-all.sh`

## 3. Download the new version of the installation package

Expand All @@ -23,7 +23,7 @@

- Execute database upgrade script

`sh ./script/upgrade_escheduler.sh`
`sh ./script/upgrade-escheduler.sh`

## 5. Backend service upgrade

Expand Down
4 changes: 2 additions & 2 deletions docs/zh_CN/升级文档.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

## 2. 停止escheduler所有服务

`sh ./script/stop_all.sh`
`sh ./script/stop-all.sh`

## 3. 下载新版本的安装包

Expand All @@ -23,7 +23,7 @@

- 执行数据库升级脚本

`sh ./script/upgrade_escheduler.sh`
`sh ./script/upgrade-escheduler.sh`

## 5. 后端服务升级

Expand Down
8 changes: 4 additions & 4 deletions docs/zh_CN/后端部署文档.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ escheduler ALL=(ALL) NOPASSWD: NOPASSWD: ALL
```
执行创建表和导入基础数据脚本
```
sh ./script/create_escheduler.sh
sh ./script/create-escheduler.sh
```

#### 准备五: 修改部署目录权限及运行参数
Expand Down Expand Up @@ -164,11 +164,11 @@ install.sh : 一键部署脚本

* 一键停止集群所有服务

` sh ./bin/stop_all.sh`
` sh ./bin/stop-all.sh`

* 一键开启集群所有服务

` sh ./bin/start_all.sh`
` sh ./bin/start-all.sh`

* 启停Master

Expand Down Expand Up @@ -206,5 +206,5 @@ sh ./bin/escheduler-daemon.sh stop alert-server
## 3、数据库升级
数据库升级是在1.0.2版本增加的功能,执行以下命令即可自动升级数据库
```
sh ./script/upgrade_escheduler.sh
sh ./script/upgrade-escheduler.sh
```
4 changes: 2 additions & 2 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
<fileSet>
<directory>script</directory>
<includes>
<include>start_all.sh</include>
<include>stop_all.sh</include>
<include>start-all.sh</include>
<include>stop-all.sh</include>
<include>escheduler-daemon.sh</include>
</includes>
<outputDirectory>./bin</outputDirectory>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.