Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hiro
GetTor
Commits
814ad198
Commit
814ad198
authored
Oct 04, 2019
by
Hiro
🏄
Browse files
Update gettor_check script
parent
3a367f6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/gettor_check
View file @
814ad198
...
...
@@ -9,17 +9,12 @@
#
# :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
# store exit status
# status=$?
#
# if test $status -ne 0
# then
# /home/gettor/gettor/bin/gettor_service start
# fi
# deactivate
store
exit
status
status
=
$?
if
test
$status
-ne
0
then
/home/gettor/gettor/bin/gettor_service start
fi
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment