|
@@ -2,16 +2,16 @@
|
|
|
|
|
|
# This file must be executable, otherwise the service cannot run it.
|
|
# This file must be executable, otherwise the service cannot run it.
|
|
|
|
|
|
-# Run `./santanibot/bot.py` while exit code of script is 65.
|
|
|
|
|
|
+# Run `python_script` while exit code of script is 65.
|
|
# At each iteration, pull news from repository and update dependencies.
|
|
# At each iteration, pull news from repository and update dependencies.
|
|
|
|
|
|
# Get current directory
|
|
# Get current directory
|
|
this_script_directory=$(cd `dirname $0` && pwd)
|
|
this_script_directory=$(cd `dirname $0` && pwd)
|
|
|
|
|
|
# Import variables from my_config.sh
|
|
# Import variables from my_config.sh
|
|
-# `$botenv`: python virtual environment directory
|
|
|
|
|
|
+# `$python_virtual_environment`: python virtual environment directory
|
|
# containing `python` and `pip`
|
|
# containing `python` and `pip`
|
|
-# `$python_script`: complete path to python script to be run
|
|
|
|
|
|
+# `$python_script`: complete path to python script to be run
|
|
# `$pull_from_repository`: boolean
|
|
# `$pull_from_repository`: boolean
|
|
# if set to true, at each iteration pull from origin
|
|
# if set to true, at each iteration pull from origin
|
|
# `$key`: complete path to private key used to pull
|
|
# `$key`: complete path to private key used to pull
|