-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version 0.9.0 improvements #140
Conversation
9352ccb
to
22fcbd5
Compare
@echo "Starting Magpie..." | ||
exec gunicorn -b 0.0.0.0:2001 --paste "$(CUR_DIR)/magpie/magpie.ini" --workers 10 --preload | ||
@bash -c 'source "$(CONDA_HOME)/bin/activate" "$(CONDA_ENV)"; \ | ||
exec gunicorn -b 0.0.0.0:2001 --paste "$(CUR_DIR)/magpie/magpie.ini" --workers 10 --preload &' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That little & at the end of the command looks like a hack, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tells bash to not wait for the return of the call.
So basically, run the process detached.
@@ -25,6 +49,11 @@ | |||
SERVICES_PHOENIX = 'PHOENIX' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file only related to Phoenix? Because all Phoenix related stuff could be marked as deprecated... and removed as soon as the latest twitcher version is used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, all of Phoenix related code is preserved for back compatibility to old twitcher, but is mostly deprecated now.
fcfca44
to
172bd0d
Compare
MAGPIE_LOG_LEVEL >= INFO