lot_manager/update.sh

10 lines
199 B
Bash
Raw Normal View History

2023-12-01 09:21:23 +08:00
#!/bin/bash
2023-12-01 13:51:47 +08:00
set -e
# git更新
git pull origin master
# 配置文件复制到supervisor管理
cp -r conf/*.conf /etc/supervisor/conf.d/
# 更新配置文件
2023-12-02 10:34:03 +08:00
supervisorctl reread
2023-12-01 15:12:41 +08:00
supervisorctl update