[tor-commits] [gettor/master] Update check service script

hiro at torproject.org hiro at torproject.org
Mon Sep 30 12:04:16 UTC 2019


commit 3e7378bb2751c54ac040a95554ad5fe43bf988c2
Author: hiro <hiro at torproject.org>
Date:   Mon Sep 30 14:02:07 2019 +0200

    Update check service script
---
 scripts/check_service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/check_service b/scripts/check_service
index fcf464f..634c656 100644
--- a/scripts/check_service
+++ b/scripts/check_service
@@ -103,9 +103,9 @@ if __name__ == "__main__":
     try:
         status, message = send_email_from_gmail(password)
     except Exception as e:
-        status = CRITICAL
+        status = UNKNOWN
         message = repr(e)
-        status_file.write("CRITICAL: %s" % message)
+        status_file.write("UNKNOWN: %s" % message)
         sys.exit(status)
 
     time.sleep(600)



More information about the tor-commits mailing list