From c82751e6bc3c89a42924458f38b11528f103e140 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 15 Jun 2021 18:25:40 +0200 Subject: [PATCH] add uwsgi config --- src/etc/uwsgi/apps-available/telecaster.ini | 45 +++++++++++++++++++++ src/etc/uwsgi/apps-enable/telecaster.ini | 1 + src/home/telecaster/.fluxbox/startup | 2 + 3 files changed, 48 insertions(+) create mode 100644 src/etc/uwsgi/apps-available/telecaster.ini create mode 120000 src/etc/uwsgi/apps-enable/telecaster.ini diff --git a/src/etc/uwsgi/apps-available/telecaster.ini b/src/etc/uwsgi/apps-available/telecaster.ini new file mode 100644 index 0000000..1560125 --- /dev/null +++ b/src/etc/uwsgi/apps-available/telecaster.ini @@ -0,0 +1,45 @@ +# mysite_uwsgi.ini file +[uwsgi] + +#projectdomain = e-learning.crfpa.pre-barreau.com + +#projectdomain = e-learning.crfpa.pre-barreau.com + +socket = 127.0.0.1:10023 + +plugins = python + +# Django-related settings +# the base directory (full path) +chdir = /srv/telecaster/instance/ +# Django's wsgi file +module = wsgi +# the virtualenv (full path) +home = /srv/telecaster/instance/env + +# process-related settings +# master +master = true +# maximum number of worker processes +processes = 4 +threads = 4 +enable-threads = true +listen = 16 +close-on-exec = true + +## the socket (use the full path to be safe +#socket = /tmp/telecasting.sock +# ... with appropriate permissions - may be needed +chmod-socket = 664 +# clear environment on exit +vacuum = true +buffer-size = 65536 +limit-post = 8192000000 +touch-reload = /srv/telecaster/instance/wsgi.py + +#disable-logging = true +route = ^/room/ donotlog: +route = ^/jsi18n/ donotlog: + +#harakiri = 360 + diff --git a/src/etc/uwsgi/apps-enable/telecaster.ini b/src/etc/uwsgi/apps-enable/telecaster.ini new file mode 120000 index 0000000..d8b207e --- /dev/null +++ b/src/etc/uwsgi/apps-enable/telecaster.ini @@ -0,0 +1 @@ +../apps-available/telecaster.ini \ No newline at end of file diff --git a/src/home/telecaster/.fluxbox/startup b/src/home/telecaster/.fluxbox/startup index 853d569..e3ce53c 100644 --- a/src/home/telecaster/.fluxbox/startup +++ b/src/home/telecaster/.fluxbox/startup @@ -25,6 +25,8 @@ fi # telecaster +konsole & + qjackctl & /home/telecaster/.fluxbox/scripts/tc_audio_mp3_icecast-gst1.sh & -- 2.39.5