diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/version.py | 2 | ||||
-rw-r--r-- | app/web/gunicorn.conf | 9 | ||||
-rw-r--r-- | app/web/uwsgi.ini | 16 |
3 files changed, 10 insertions, 17 deletions
diff --git a/app/version.py b/app/version.py index 1fb3765..bbd9e13 100644 --- a/app/version.py +++ b/app/version.py @@ -1 +1 @@ -__version__ = '1806.0.022118-SNAPSHOT'
\ No newline at end of file +__version__ = '1.3.0'
\ No newline at end of file diff --git a/app/web/gunicorn.conf b/app/web/gunicorn.conf new file mode 100644 index 0000000..1d12129 --- /dev/null +++ b/app/web/gunicorn.conf @@ -0,0 +1,9 @@ +#[gunicorn] +#user = '' +backlog = '5000' +bind = "unix:/run/gunicorn/tosca_server.sock" +chdir = '/srv' +errorlog = '/tmp/tosca_server_app-error.log' +loglevel = 'info' +pidfile = '/tmp/dcae-tosca-master.pid' +workers = 3 diff --git a/app/web/uwsgi.ini b/app/web/uwsgi.ini deleted file mode 100644 index c4cca12..0000000 --- a/app/web/uwsgi.ini +++ /dev/null @@ -1,16 +0,0 @@ -[uwsgi] -module = tosca_server:application -#plugin = python -chdir = /srv -master = True -processes = 2 -pidfile = /tmp/project-master.pid -vacuum = true -max-requests = 5000 -enable-threads = True -logto = /var/log/uwsgi/%n.log - -uid = dcae -socket = /run/uwsgi/tosca.sock -chown-socket = dcae:nginx -chmod-socket = 664 |