add file
This commit is contained in:
22
autoStart.md
Normal file
22
autoStart.md
Normal file
@@ -0,0 +1,22 @@
|
||||
## autoStart.sh脚本使用说明
|
||||
|
||||
#### 1、将对应的脚本文件放到对应的jar包启动脚本下
|
||||
如`apiStart7004.sh`的脚本在`/home/syb/api`目录下.
|
||||
即将`pluss-api-page`下的`autoStart.sh`放到该目录下
|
||||
|
||||
#### 2.1、文件授权
|
||||
```chmod 777 ./autoStart.sh```
|
||||
|
||||
#### 2.2 文件编码调整
|
||||
```
|
||||
vi autoStart.out
|
||||
|
||||
:set ff=unix
|
||||
|
||||
:wq
|
||||
```
|
||||
|
||||
#### 3、脚本启动
|
||||
```nohup ./autoStart.sh >autoStart.out 2>&1 &```
|
||||
```nohup ./autoStartApi.sh >autoStart.out 2>&1 &```
|
||||
```nohup ./autoStartWap.sh >autoStart.out 2>&1 &```
|
||||
Reference in New Issue
Block a user