摘要: 版本一: cat << EOF >/etc/init.d/filebeat #!/bin/bash #chkconfig: 2345 22 80 #description: Filebeat Service #Author:alisa agent="/opt/iDataFusion/esuser/f 阅读全文
posted @ 2021-07-22 16:33 alisapine 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 系统服务,在chkconfig --add servername的时候提示服务不支持 chkconfig,经过查找,解决办法如下。 在服务脚本的前三行添加如下: #!/bin/bash #chkconfig: 2345 22 80 #description: Filebeat Service #!/ 阅读全文
posted @ 2021-07-22 13:04 alisapine 阅读(1042) 评论(0) 推荐(0) 编辑