aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVG <vg@devys.org>2015-01-28 18:45:29 +0100
committerVG <vg@devys.org>2015-01-28 18:45:29 +0100
commit12240fb74c0c6f2768e1070f849cd265ea3dd181 (patch)
tree6f5cb93e0e020bd918e015aba164e90db1fd0739 /doc
downloadshareit-12240fb74c0c6f2768e1070f849cd265ea3dd181.tar.gz
shareit-12240fb74c0c6f2768e1070f849cd265ea3dd181.tar.bz2
shareit-12240fb74c0c6f2768e1070f849cd265ea3dd181.zip
First commit
Diffstat (limited to 'doc')
-rw-r--r--doc/crontab.conf.ex2
-rw-r--r--doc/uwsgi.ini.ex17
2 files changed, 19 insertions, 0 deletions
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