diff --git a/scripts/run_prometheus.sh b/scripts/run_prometheus.sh index aa314bae8e4c..f5d917c23a01 100755 --- a/scripts/run_prometheus.sh +++ b/scripts/run_prometheus.sh @@ -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"' diff --git a/scripts/run_promtail.sh b/scripts/run_promtail.sh index 9fea21ad9632..465a183b7452 100755 --- a/scripts/run_promtail.sh +++ b/scripts/run_promtail.sh @@ -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"'