Commit 3503a589 authored by wanliofficial's avatar wanliofficial

update

parent ef058c53
{"lastModifyDateTime": 1618915131} {"lastModifyDateTime": 1619000599}
\ No newline at end of file \ No newline at end of file
File mode changed from 100644 to 100755
#!/usr/bin/env bash #!/usr/bin/env bash
# 获取当前路径
Cur_Dir=$(pwd) Cur_Dir=$(pwd)
# 关闭evm_store ${Cur_Dir}/venv/bin/python ${Cur_Dir}/deploy.py
supervisorctl stop evm_store \ No newline at end of file
# 切换到release分支
git checkout release
# 拉取最新代码
git pull
# 启动evm_store
supervisorctl start evm_store
# 启动一个定时任务
# cd $Cur_Dir
# source venv/bin/activate
# 0 */1 * * * "${Cur_Dir}/venv/bin/python deploy.py"
#!/usr/bin/env bash #!/usr/bin/env bash
# 获取当前路径
# Cur_Dir=$(pwd)
# 关闭evm_store
# supervisorctl stop evm_store
# 切换到release分支
# git checkout release
# 拉取最新代码
# git pull
# 启动evm_store
# supervisorctl start evm_store
# 启动一个定时任务
# cd $Cur_Dir
# source venv/bin/activate
# 0 */1 * * * "${Cur_Dir}/venv/bin/python deploy.py"
# ps -def | grep "run.sh" # ps -def | grep "run.sh"
source venv/bin/activate source venv/bin/activate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment