fix worker
This commit is contained in:
parent
7402d3de9a
commit
31d36925f7
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ in
|
|||
echo "${moa-env}/bin/python -m moa.models" >> start.sh
|
||||
cp start.sh start-worker.sh
|
||||
mv start.sh start-app.sh
|
||||
echo "exec ${moa-env}/bin/python -m moa.worker" >> start-worker.sh
|
||||
echo "while true; do ${moa-env}/bin/python -m moa.worker; sleep 60; done" >> start-worker.sh
|
||||
echo "exec ${moa-env}/bin/python app.py" >> start-app.sh
|
||||
chmod +x start-*.sh
|
||||
'';
|
||||
|
|
Reference in a new issue