aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
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