Skip to content

Commit

Permalink
Update monitor.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
arooshap committed Mar 18, 2024
1 parent 044372b commit 0760f1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/frontend/monitor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ if [ -f /data/filebeat.yaml ] && [ -f /usr/bin/filebeat ]; then
fi
ldir=/data/filebeat/${NAME}
mkdir -p $ldir/data
sudo mkdir -p /var/log/filebeat/
sudo chown _frontend:_frontend /var/log/filebeat/
nohup /usr/bin/filebeat \
-c /data/filebeat.yaml \
--path.data $ldir/data --path.logs $ldir -e 2>&1 1>& $ldir/log < /dev/null &
Expand Down

0 comments on commit 0760f1b

Please sign in to comment.