[Git][qa/jenkins.debian.net][master] node health check: also try to restart failed vnstat service

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Aug 21 14:35:03 BST 2023



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
bad24f43 by Holger Levsen at 2023-08-21T15:34:51+02:00
node health check: also try to restart failed vnstat service

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_node_health_check.sh


Changes:

=====================================
bin/reproducible_node_health_check.sh
=====================================
@@ -163,7 +163,7 @@ if ! systemctl is-system-running > /dev/null; then
 	echo "$(date -u) - problematic services found:"
 	cat $SERVICES
 	echo "$(date -u) - trying to fix problematic services."
-	for UNIT in avahi-daemon acpid rtkit-daemon networking systemd-journal-flush haveged e2scrub_all apt-daily apt-daily-upgrade logrotate man-db munin-node dpkg-db-backup ; do
+	for UNIT in avahi-daemon acpid rtkit-daemon networking systemd-journal-flush haveged e2scrub_all apt-daily apt-daily-upgrade logrotate man-db munin-node dpkg-db-backup vnstat ; do
 		if grep -q $UNIT $SERVICES ; then
 			echo "$(date -u) - restarting failed service $UNIT..."
 		        sudo systemctl restart $UNIT



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/bad24f4398613c93e9266912ffb85e3d0093a26b

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/bad24f4398613c93e9266912ffb85e3d0093a26b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20230821/0e0b152e/attachment.htm>


More information about the Qa-jenkins-scm mailing list