This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
galaxy-tsg-olap-dll-multipo…/internal-flume/flumeController/clean_start_all.sh
2020-05-12 19:03:13 +08:00

17 lines
428 B
Bash
Executable File

#! /bin/bash
#flume配置文件夹路径,注意最后没有/
#主路径下
#BASE_DIR=$(cd $(dirname $0); cd conf/; pwd)
#flumeController路径下
BASE_DIR=$(cd $(dirname $0); cd ../conf/; pwd)
for conf_name in `ls ${BASE_DIR}`
do
cd ${BASE_DIR}/${conf_name} && ./clean_start_flume.sh
done
#用于脚本一直前台运行,防止docker自动退出,但本地运行不需要前台,需要注释掉本条指令
tail -f /dev/null