summaryrefslogtreecommitdiffstats
path: root/static/joplinapi.uwsgi.ini
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2020-04-18 23:47:15 +0200
committernico <nico@magicbroccoli.de>2020-04-18 23:47:15 +0200
commit36cf666a0c8ea32c702338e2931dc109859269a7 (patch)
tree7a9b3bfd89e29120c520c5f2fa37a250716de973 /static/joplinapi.uwsgi.ini
Initial release JoplinWebApi
Joplin WebAPI to manage Joplin users and the directory structure + add user creation endpoint + add user deletion endpoint + add user password change endpoint + add README and highlight css + add gitignore file + add uwsgi template file
Diffstat (limited to 'static/joplinapi.uwsgi.ini')
-rw-r--r--static/joplinapi.uwsgi.ini20
1 files changed, 20 insertions, 0 deletions
diff --git a/static/joplinapi.uwsgi.ini b/static/joplinapi.uwsgi.ini
new file mode 100644
index 0000000..84f3128
--- /dev/null
+++ b/static/joplinapi.uwsgi.ini
@@ -0,0 +1,20 @@
+[uwsgi]
+master = true
+project = JoplinWebApi
+base = /var/www
+
+chdir = %(base)/%(project)
+home = %(base)/%(project)/venv
+module = joplinapi:app
+plugins = python3
+manage-script-name = true
+
+processes = 3
+uid = www-data
+gid = www-data
+logto = /var/log/uwsgi/app/%(project).log
+logformat = '%(addr) - %(host) ["%(ltime)"] "%(method) %(uri)" "%(status)" "%(cl)" "%(referrer)" rt="%(time)" ut="%(secs)'
+
+vacuum = true
+die-on-term = true
+touch-reload = %(chdir)/reload.file