2023-12-02 10:53:31 +08:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# git更新
|
2023-12-02 11:24:32 +08:00
|
|
|
git pull origin master --force
|
2023-12-02 10:53:31 +08:00
|
|
|
# 配置文件复制到supervisor管理
|
2023-12-07 16:07:53 +08:00
|
|
|
cp -r conf/common/*.conf /etc/supervisor/conf.d/
|
2023-12-02 10:53:31 +08:00
|
|
|
# 更新配置文件
|
|
|
|
supervisorctl reread
|
|
|
|
supervisorctl update
|