lot_manager/reload_conf.sh

8 lines
165 B
Bash

#!/bin/bash
#复制配置文件
cp -r conf/*.conf /etc/supervisor/conf.d/
# 重启所有配置
supervisorctl reload
# 推流不启动
supervisorctl stop push_stream