diff --git a/runfod-fg.centos.sh b/runfod-fg.centos.sh index 5cd3291a01d65b925a46e5d7e0372ecf690b31e9..0ae4c0e61b261d235b27d743a88bcb7b2472b00d 100755 --- a/runfod-fg.centos.sh +++ b/runfod-fg.centos.sh @@ -92,6 +92,7 @@ echo "starting redis" 1>&2 /usr/bin/redis-server & 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 info -f celery.log diff --git a/runfod-fg.sh b/runfod-fg.sh index 825e99ff4313af826ddbed614807b7f49731bbff..ad2e752a7ff8d2f18762bca082aeaf4d957e321a 100755 --- a/runfod-fg.sh +++ b/runfod-fg.sh @@ -96,6 +96,7 @@ echo "starting redis" 1>&2 /usr/bin/redis-server & 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 info -f celery.log diff --git a/runfod-supervisord.sh b/runfod-supervisord.sh index b1db5f4cbcc72b2ed10212aa531cc279e46137af..97ddd3f75667f9b62ca637cadc9c5ec459855775 100755 --- a/runfod-supervisord.sh +++ b/runfod-supervisord.sh @@ -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 exec /usr/bin/supervisord -n -c /etc/supervisord.conf