一、问题描述 在命令行输入命令运行Flume可以启动 [root@bigdata111 flume-1.9.0]# bin/flume-ng agent -n a1 -c conf/ -f job/file_to_kafka.conf -Dflume.root.logger=info,console 但当我运行编写的shell启停脚本时,不起作用 脚本如下: #!/bin/bash case $1 in "start"){ for i