Skip to content
Snippets Groups Projects
Commit b606710e authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Do not activate the python venv, everytime you execute daemon tasks

parent ba778922
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
source venv/bin/activate
if [[ "${NOPAQUE_DAEMON_ENABLED}" == "True" ]]; then
echo "INFO Starting nopaque daemon process..."
./nopaque-daemon.sh &
fi
source venv/bin/activate
if [[ "${#}" -eq 0 ]]; then
while true; do
flask deploy
......
#!/bin/bash
source venv/bin/activate
# The nopaque daemon is essentially just a loop in which the daemon tasks are
# periodically executed
while true; do
flask tasks
sleep 10
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment