Loading bin/reproducible_node_health_check.sh +2 −2 Original line number Diff line number Diff line #!/bin/bash # vim: set noexpandtab: # Copyright 2014-2020 Holger Levsen <holger@layer-acht.org> # Copyright 2014-2021 Holger Levsen <holger@layer-acht.org> # © 2015-2018 Mattia Rizzolo <mattia@mapreri.org> # released under the GPLv2 Loading Loading @@ -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 Loading Loading
bin/reproducible_node_health_check.sh +2 −2 Original line number Diff line number Diff line #!/bin/bash # vim: set noexpandtab: # Copyright 2014-2020 Holger Levsen <holger@layer-acht.org> # Copyright 2014-2021 Holger Levsen <holger@layer-acht.org> # © 2015-2018 Mattia Rizzolo <mattia@mapreri.org> # released under the GPLv2 Loading Loading @@ -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 Loading