Commit 5e48fbb0 authored by fangzhipeng's avatar fangzhipeng

提交自动部署脚本

parent a32eeca4
#!/bin/bash
PROJECT_PATH=/home/ubuntu/web_service/projcect-web
cd $PROJECT_PATH
ps -ef |grep 'python application.py' |awk '{print $2}'|xargs kill -9
git pull --rebase
nohup python application.py &
\ No newline at end of file
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