mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
Do not activate the python venv, everytime you execute daemon tasks
This commit is contained in:
parent
ba7789224b
commit
b606710edf
@ -1,12 +1,12 @@
|
||||
#!/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
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/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
|
||||
|
Loading…
Reference in New Issue
Block a user