Skip to content

Commit

Permalink
fixup: address shellcheck failures
Browse files Browse the repository at this point in the history
  • Loading branch information
marun committed Nov 7, 2024
1 parent dd5d1eb commit 68ba293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/run_prometheus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,5 @@ cd "${PROMETHEUS_WORKING_DIR}"
nohup "${CMD}" --config.file=prometheus.yaml --web.listen-address=localhost:0 --enable-feature=agent > prometheus.log 2>&1 &
echo $! > "${PIDFILE}"
echo "prometheus started with pid $(cat "${PIDFILE}")"
# shellcheck disable=SC2016
echo 'To stop prometheus: "kill -SIGTERM `cat ~/.tmpnet/prometheus/run.pid` && rm ~/.tmpnet/prometheus/run.pid"'
1 change: 1 addition & 0 deletions scripts/run_promtail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,5 @@ cd "${PROMTAIL_WORKING_DIR}"
nohup "${CMD}" -config.file=promtail.yaml > promtail.log 2>&1 &
echo $! > "${PIDFILE}"
echo "promtail started with pid $(cat "${PIDFILE}")"
# shellcheck disable=SC2016
echo 'To stop promtail: "kill -SIGTERM `cat ~/.tmpnet/promtail/run.pid` && rm ~/.tmpnet/promtail/run.pid"'

0 comments on commit 68ba293

Please # to comment.