[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] node health check: also fix failed networking service
Holger Levsen
gitlab at salsa.debian.org
Fri Feb 26 12:32:31 GMT 2021
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
ac45dd4c by Holger Levsen at 2021-02-26T13:32:20+01:00
node health check: also fix failed networking 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
=====================================
@@ -1,7 +1,7 @@
#!/bin/bash
# vim: set noexpandtab:
-# Copyright 2014-2020 Holger Levsen <holger at layer-acht.org>
+# Copyright 2014-2021 Holger Levsen <holger at layer-acht.org>
# © 2015-2018 Mattia Rizzolo <mattia at mapreri.org>
# released under the GPLv2
@@ -151,7 +151,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 ; do
+ for UNIT in avahi-daemon acpid rtkit-daemon networking ; do
if [ -n "$(grep $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/ac45dd4c25b0d402d71dc8db33cf84f0a193353a
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/ac45dd4c25b0d402d71dc8db33cf84f0a193353a
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/20210226/b542ea8d/attachment.htm>
More information about the Qa-jenkins-scm
mailing list