Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nopaque
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Looking for advice? Join the
Matrix channel for GitLab users in Bielefeld
!
Show more breadcrumbs
SFB 1288 - INF
nopaque
Commits
b606710e
Commit
b606710e
authored
4 years ago
by
Patrick Jentsch
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
web/boot.sh
+2
-2
2 additions, 2 deletions
web/boot.sh
web/nopaque-daemon.sh
+2
-1
2 additions, 1 deletion
web/nopaque-daemon.sh
with
4 additions
and
3 deletions
web/boot.sh
+
2
−
2
View file @
b606710e
#!/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
...
...
This diff is collapsed.
Click to expand it.
web/nopaque-daemon.sh
+
2
−
1
View file @
b606710e
#!/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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment