feat(api): replace uwsgi with gunicorn (#1785)

Related to #1719

BREAKING: The uwsgi packages and configuration files (`/etc/airtime/libretime-api.ini`) should be removed from the system.
This commit is contained in:
Jonas L 2022-04-25 16:09:19 +02:00 committed by GitHub
parent e320ce204e
commit 41df76eed0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 21 deletions

View file

@ -1046,10 +1046,6 @@ verbose "...Done"
verbose "\n * Installing API..."
loudCmd "$pip_install ${AIRTIMEROOT}/api[prod]"
systemInitInstall libretime-api "$web_user"
mkdir -p /etc/airtime
sed -e "s@WEB_USER@${web_user}@g" \
-e "s@WEB_ROOT@${web_root}@g" \
"${AIRTIMEROOT}/api/install/uwsgi/libretime-api.ini" > /etc/airtime/libretime-api.ini
verbose "...Done"
verbose "\n * Setting permissions on /var/log/libretime..."