mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-08 01:11:17 +00:00
Do not activate the python venv, everytime you execute daemon tasks
This commit is contained in:
1 parent
ba7789224b
commit
b606710edf
2 files changed
+4
-3
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user