From bf5183c36c71d47397b114a24dac99ee95801616 Mon Sep 17 00:00:00 2001 From: Thomas Merkel Date: Mon, 11 Aug 2014 18:00:14 +0200 Subject: [PATCH] replace uwsgi with gunicorn --- copy/tmp/gunicorn.xml | 54 +++++++++++++++++++++++++++++++++++++++++++ copy/tmp/uwsgi.xml | 39 ------------------------------- customize | 8 +++---- packages | 2 +- 4 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 copy/tmp/gunicorn.xml delete mode 100644 copy/tmp/uwsgi.xml diff --git a/copy/tmp/gunicorn.xml b/copy/tmp/gunicorn.xml new file mode 100644 index 0000000..91df101 --- /dev/null +++ b/copy/tmp/gunicorn.xml @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/copy/tmp/uwsgi.xml b/copy/tmp/uwsgi.xml deleted file mode 100644 index 2d31bad..0000000 --- a/copy/tmp/uwsgi.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/customize b/customize index e1f2360..ef42dcf 100755 --- a/customize +++ b/customize @@ -25,10 +25,10 @@ chown -R www:www /opt/kumquat echo "* Install missing dependencies via pip" pip install django django-bootstrap3 -# Setup uwsgi and nginx -echo "* Setup uwsgi and nginx" -mkdir -p /opt/local/etc/uwsgi -svccfg import /tmp/uwsgi.xml +# Setup gunicorn +echo "* Setup gunicorn" +mkdir -p /opt/local/etc/gunicorn +svccfg import /tmp/gunicorn.xml # Remove unused httpd config files echo "* Remove unused httpd config files" diff --git a/packages b/packages index 55e0bb1..714e381 100644 --- a/packages +++ b/packages @@ -31,7 +31,7 @@ quickbackup-percona apache proftpd phpmyadmin -py27-uwsgi +py27-gunicorn py27-pip py27-passlib py27-pymysql