[Git][qa/jenkins.debian.net][master] reproducible node health: automatically restart squid if failed

Holger Levsen (@holger) gitlab at salsa.debian.org
Wed Jan 3 12:41:19 GMT 2024



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


Commits:
b408fbd3 by Holger Levsen at 2024-01-03T13:41:07+01:00
reproducible node health: automatically restart squid if failed

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
=====================================
@@ -1,7 +1,7 @@
 #!/bin/bash
 # vim: set noexpandtab:
 
-# Copyright 2014-2023 Holger Levsen <holger at layer-acht.org>
+# Copyright 2014-2024 Holger Levsen <holger at layer-acht.org>
 #         © 2015-2018 Mattia Rizzolo <mattia at mapreri.org>
 # released under the GPLv2
 
@@ -161,7 +161,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 ntpsec postfix ; 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 postfix squid ; 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/b408fbd38a18d08aeeb0260bdd7db361f7335100

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b408fbd38a18d08aeeb0260bdd7db361f7335100
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/20240103/46c54575/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list