Skip to content
Snippets Groups Projects
Commit b973c083 authored by David Schmitz's avatar David Schmitz
Browse files

update runfod.sh

parent 783d5891
No related branches found
No related tags found
No related merge requests found
...@@ -185,6 +185,8 @@ else ...@@ -185,6 +185,8 @@ else
cp -f supervisord-centos.conf supervisord.conf cp -f supervisord-centos.conf supervisord.conf
sed -i "s#/srv/flowspy#$fod_dir#" "$fod_dir/supervisord.conf" sed -i "s#/srv/flowspy#$fod_dir#" "$fod_dir/supervisord.conf"
cp -f runfod.centos.sh runfod.sh
) )
set +e set +e
......
...@@ -82,7 +82,7 @@ echo "starting redis" 1>&2 ...@@ -82,7 +82,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
celery worker -A flowspy -B --concurrency=2 --detach -l debug -f celery.log celery -A flowspy worker -B --concurrency=2 --detach -l debug -f celery.log
echo "Starting FoD gunicorn in foreground" 1>&2 echo "Starting FoD gunicorn in foreground" 1>&2
#exec ./manage.py runserver 0.0.0.0:8000 #exec ./manage.py runserver 0.0.0.0:8000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment