From 16dd5a071aea4946f12e89f1029a580a97c33d6e Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Thu, 2 May 2019 15:46:40 +0200 Subject: [PATCH] Remove _waiting for sync_ from the restart black list --- assets/bash/seafile-healthcheck.sh | 2 +- assets/cron/seafile-healthcheck.sh | 2 +- assets/supervisord/seafile-healthcheck.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/bash/seafile-healthcheck.sh b/assets/bash/seafile-healthcheck.sh index 16f60d4..9b05e63 100755 --- a/assets/bash/seafile-healthcheck.sh +++ b/assets/bash/seafile-healthcheck.sh @@ -23,7 +23,7 @@ # then it compares the statuses, when not empty, to the ones that do not require a restart. Finally either restart or don't. seaf=/usr/bin/seaf-cli -dont_restart_on=("downloading" "committing" "waiting for sync") +dont_restart_on=("downloading" "committing") restart=true sleep 10s diff --git a/assets/cron/seafile-healthcheck.sh b/assets/cron/seafile-healthcheck.sh index 2f41124..663e03b 100755 --- a/assets/cron/seafile-healthcheck.sh +++ b/assets/cron/seafile-healthcheck.sh @@ -23,7 +23,7 @@ # then it compares the statuses, when not empty, to the ones that do not require a restart. Finally either restart or don't. seaf=/usr/bin/seaf-cli -dont_restart_on=("downloading" "committing" "waiting for sync") +dont_restart_on=("downloading" "committing") restart=true while IFS=$'\t' read -r name status progress; do diff --git a/assets/supervisord/seafile-healthcheck.sh b/assets/supervisord/seafile-healthcheck.sh index 16f60d4..9b05e63 100755 --- a/assets/supervisord/seafile-healthcheck.sh +++ b/assets/supervisord/seafile-healthcheck.sh @@ -23,7 +23,7 @@ # then it compares the statuses, when not empty, to the ones that do not require a restart. Finally either restart or don't. seaf=/usr/bin/seaf-cli -dont_restart_on=("downloading" "committing" "waiting for sync") +dont_restart_on=("downloading" "committing") restart=true sleep 10s