Skip to content

Commit

Permalink
correct promtail optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Glonek committed Mar 29, 2023
1 parent 28a96e9 commit 82fe39f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/cmdClientDoTools.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,11 @@ NO=$(pidof asbench |sed 's/ /\n/g' |wc -l)
touch /var/log/asbench_${NO}.log
nohup asbench "$@" ${EXTRAS} >>/var/log/asbench_${NO}.log 2>&1 &
pkill promtail >/dev/null 2>&1
[ -f /opt/autoload/10-promtail ] && /opt/autoload/10-promtail
if [ -f /opt/autoload/10-promtail ]
then
/opt/autoload/10-promtail
else
exit 0
fi
`
}

0 comments on commit 82fe39f

Please sign in to comment.