Commit dbb57de1 authored by Hiro's avatar Hiro 🏄
Browse files

Update check service script

parent 38a16893
......@@ -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
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