Skip to content

Commit

Permalink
fix(update-core): force stop of node_explorer instances
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchietti committed Feb 28, 2025
1 parent 8cccdcf commit fb2445e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ set -e
if systemctl is-enabled --quiet node_exporter ; then
systemctl restart node_exporter.service || :
else
# Make sure to stop all node_exporterX instances
systemctl stop node_exporter*.service
systemctl enable --now node_exporter.service
fi

0 comments on commit fb2445e

Please sign in to comment.