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

hiro at torproject.org hiro at torproject.org
Mon Sep 30 11:23:47 UTC 2019


commit dbb57de111703c349f3f4a5013178727773d11a6
Author: hiro <hiro at torproject.org>
Date:   Mon Sep 30 13:22:05 2019 +0200

    Update check service script
---
 bin/gettor_check | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/bin/gettor_check b/bin/gettor_check
index 75d3148..38daea7 100755
--- a/bin/gettor_check
+++ b/bin/gettor_check
@@ -16,10 +16,10 @@ source /home/gettor/gettor/venv/bin/activate
 python3 /home/gettor/gettor/scripts/check_service $1
 
 # store exit status
-status=$?
-
-if test $status -ne 0
-then
-  /home/gettor/gettor/bin/gettor_service start
-fi
-deactivate
+# status=$?
+#
+# if test $status -ne 0
+# then
+#   /home/gettor/gettor/bin/gettor_service start
+# fi
+# deactivate



More information about the tor-commits mailing list