Skip to content
Snippets Groups Projects
Commit 1373ed9c authored by Holger Levsen's avatar Holger Levsen
Browse files

node health check: also fix failed systemd-journal-flush service

parent 38924b87
No related branches found
No related tags found
No related merge requests found
......@@ -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 networking ; do
for UNIT in avahi-daemon acpid rtkit-daemon networking systemd-journal-flush ; do
if [ -n "$(grep $UNIT $SERVICES)" ] ; then
echo "$(date -u) - restarting failed service $UNIT..."
sudo systemctl restart $UNIT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment