Commit 379c4690 authored by 段孔乐's avatar 段孔乐

modify install script

parent fc24aa7f
#!/bin/bash
if [ "$(pwd | grep -c 'filebeat')" -gt 0 ]; then echo "script location is incorrect, run me in filebeat installation directory"; fi
if [ "$(pwd | grep -c 'filebeat')" -lt 0 ]; then echo "script location is incorrect, run me in filebeat installation directory"; exit 1; fi
source ./util.sh
sudo systemctl disable filebeat 2>/dev/null
sudo systemctl stop filebeat 2>/dev/null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment