Merge "Add procname for uwsgi based service cyborg-api"

This commit is contained in:
Zuul 2019-12-16 02:34:05 +00:00 committed by Gerrit Code Review
commit 66916ae0db

View File

@ -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