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

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



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


Commits:
4082de75 by Holger Levsen at 2023-08-21T19:35:27+02:00
node health check: also try to restart failed ntpsec 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 vnstat ; 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 ntpsec ; 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/4082de753b949e8c0bbcdf1a7e01c9509b8f3c84

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/4082de753b949e8c0bbcdf1a7e01c9509b8f3c84
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/275ec977/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list