Merge "Add procname for uwsgi based service cyborg-api"
This commit is contained in:
commit
66916ae0db
@ -279,7 +279,7 @@ function start_cyborg {
|
||||
# Starts Cyborg API server.
|
||||
function start_cyborg_api {
|
||||
if [ "$CYBORG_USE_UWSGI" == "True" ]; then
|
||||
run_process cyborg-api "$CYBORG_BIN_DIR/uwsgi --ini $CYBORG_UWSGI_CONF"
|
||||
run_process cyborg-api "$CYBORG_BIN_DIR/uwsgi --ini $CYBORG_UWSGI_CONF --procname-prefix cyborg-api"
|
||||
else
|
||||
run_process cyborg-api "$CYBORG_BIN_DIR/cyborg-api --config-file $CYBORG_CONF_FILE"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user