Commit 814ad198 authored by Hiro's avatar Hiro 🏄
Browse files

Update gettor_check script

parent 3a367f6e
...@@ -9,17 +9,12 @@ ...@@ -9,17 +9,12 @@
# #
# :license: This is Free Software. See LICENSE for license information. # :license: This is Free Software. See LICENSE for license information.
cd /home/gettor/gettor/;
virtualenv /home/gettor/gettor/venv
source /home/gettor/gettor/venv/bin/activate
python3 /home/gettor/gettor/scripts/check_service $1 python3 /home/gettor/gettor/scripts/check_service $1
# store exit status store exit status
# status=$? status=$?
#
# if test $status -ne 0 if test $status -ne 0
# then then
# /home/gettor/gettor/bin/gettor_service start /home/gettor/gettor/bin/gettor_service start
# fi fi
# deactivate
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment