lot_manager/update.sh

10 lines
207 B
Bash
Raw Normal View History

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管理
cp -r conf/*.conf /etc/supervisor/conf.d/
# 更新配置文件
supervisorctl reread
supervisorctl update