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

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Aug 28 08:50:57 BST 2023



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


Commits:
9101176c by Holger Levsen at 2023-08-28T09:50:40+02:00
node health check: also try to restart failed postfix 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 ntpsec ; 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 ; 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/9101176c3162412065b97df8e664a13a2354b686

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/9101176c3162412065b97df8e664a13a2354b686
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/20230828/19b53d9a/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list