]> git.parisson.com Git - telecaster-server.git/commitdiff
add uwsgi config
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 15 Jun 2021 16:25:40 +0000 (18:25 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 15 Jun 2021 16:25:40 +0000 (18:25 +0200)
src/etc/uwsgi/apps-available/telecaster.ini [new file with mode: 0644]
src/etc/uwsgi/apps-enable/telecaster.ini [new symlink]
src/home/telecaster/.fluxbox/startup

diff --git a/src/etc/uwsgi/apps-available/telecaster.ini b/src/etc/uwsgi/apps-available/telecaster.ini
new file mode 100644 (file)
index 0000000..1560125
--- /dev/null
@@ -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 (symlink)
index 0000000..d8b207e
--- /dev/null
@@ -0,0 +1 @@
+../apps-available/telecaster.ini
\ No newline at end of file
index 853d569f6aebe4be1d12024c5d8bcc09051c57bb..e3ce53c28e914e8c3fda944904a7d0f65dd335d4 100644 (file)
@@ -25,6 +25,8 @@ fi
 
 # telecaster
 
+konsole &
+
 qjackctl &
 
 /home/telecaster/.fluxbox/scripts/tc_audio_mp3_icecast-gst1.sh &