From 12240fb74c0c6f2768e1070f849cd265ea3dd181 Mon Sep 17 00:00:00 2001 From: VG Date: Wed, 28 Jan 2015 18:45:29 +0100 Subject: First commit --- doc/crontab.conf.ex | 2 ++ doc/uwsgi.ini.ex | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 doc/crontab.conf.ex create mode 100644 doc/uwsgi.ini.ex (limited to 'doc') diff --git a/doc/crontab.conf.ex b/doc/crontab.conf.ex new file mode 100644 index 0000000..efae64e --- /dev/null +++ b/doc/crontab.conf.ex @@ -0,0 +1,2 @@ +# m h dom mon dow command + 0 0 * * * /shareit/purge.sh diff --git a/doc/uwsgi.ini.ex b/doc/uwsgi.ini.ex new file mode 100644 index 0000000..3665a2a --- /dev/null +++ b/doc/uwsgi.ini.ex @@ -0,0 +1,17 @@ +[uwsgi] +# strict = use strict options, any unknown option will cause uwsgi to not +# start and thus helps me spot out typos +strict = true +uwsgi-socket = /sockets/uwsgi/socket +chmod-socket = 660 +chown-socket = 33:1000 +# uwsgi-socket = 192.168.0.1:3031 # for tcp socket based instead of unix one +chdir = /shareit/ +master = true +plugins = python3 +file = shareit.py +processes = 4 +threads = 2 +offload-threads = 2 +enable-threads = true +pcre-jit = true -- cgit v1.2.3