Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FoD
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Schmitz
FoD
Commits
979bfb9b
Commit
979bfb9b
authored
1 year ago
by
David Schmitz
Browse files
Options
Downloads
Patches
Plain Diff
celery lock file cleanup actions at startup: add ./flowspy/run_celery_preactions to runfod*.sh
parent
6da8f579
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
runfod-fg.centos.sh
+1
-0
1 addition, 0 deletions
runfod-fg.centos.sh
runfod-fg.sh
+1
-0
1 addition, 0 deletions
runfod-fg.sh
runfod-supervisord.sh
+2
-0
2 additions, 0 deletions
runfod-supervisord.sh
with
4 additions
and
0 deletions
runfod-fg.centos.sh
+
1
−
0
View file @
979bfb9b
...
@@ -92,6 +92,7 @@ echo "starting redis" 1>&2
...
@@ -92,6 +92,7 @@ echo "starting redis" 1>&2
/usr/bin/redis-server &
/usr/bin/redis-server &
echo
"Starting FoD celeryd in background"
1>&2
echo
"Starting FoD celeryd in background"
1>&2
"
$fod_dir
/flowspy/run_celery_preactions"
#celery worker -A flowspy -B --concurrency=2 --detach -l debug -f celery.log
#celery worker -A flowspy -B --concurrency=2 --detach -l debug -f celery.log
celery worker
-A
flowspy
-B
--concurrency
=
2
--detach
-l
info
-f
celery.log
celery worker
-A
flowspy
-B
--concurrency
=
2
--detach
-l
info
-f
celery.log
...
...
This diff is collapsed.
Click to expand it.
runfod-fg.sh
+
1
−
0
View file @
979bfb9b
...
@@ -96,6 +96,7 @@ echo "starting redis" 1>&2
...
@@ -96,6 +96,7 @@ echo "starting redis" 1>&2
/usr/bin/redis-server &
/usr/bin/redis-server &
echo
"Starting FoD celeryd in background"
1>&2
echo
"Starting FoD celeryd in background"
1>&2
"
$fod_dir
/flowspy/run_celery_preactions"
#celery -A flowspy worker -B --concurrency=2 --detach -l debug -f celery.log
#celery -A flowspy worker -B --concurrency=2 --detach -l debug -f celery.log
celery
-A
flowspy worker
-B
--concurrency
=
2
--detach
-l
info
-f
celery.log
celery
-A
flowspy worker
-B
--concurrency
=
2
--detach
-l
info
-f
celery.log
...
...
This diff is collapsed.
Click to expand it.
runfod-supervisord.sh
+
2
−
0
View file @
979bfb9b
...
@@ -143,6 +143,8 @@ chown fod "$fod_dir" "$fod_dir/log" "$fod_dir/logs" "$fod_dir/log/"* "$fod_dir/l
...
@@ -143,6 +143,8 @@ chown fod "$fod_dir" "$fod_dir/log" "$fod_dir/logs" "$fod_dir/log/"* "$fod_dir/l
##
##
"
$fod_dir
/flowspy/run_celery_preactions"
mkdir
-p
/var/run/supervisor
mkdir
-p
/var/run/supervisor
exec
/usr/bin/supervisord
-n
-c
/etc/supervisord.conf
exec
/usr/bin/supervisord
-n
-c
/etc/supervisord.conf
...
...
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