10 lines
216 B
Bash
10 lines
216 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
# git更新
|
||
|
git pull origin master --force
|
||
|
# 配置文件复制到supervisor管理
|
||
|
# cp -r conf/common/*.conf /etc/supervisor/conf.d/
|
||
|
# 更新配置文件
|
||
|
supervisorctl reread
|
||
|
supervisorctl update
|