summarylogtreecommitdiffstats
path: root/mantisbt.uwsgi
diff options
context:
space:
mode:
authorDavid Runge2019-06-15 00:22:39 +0200
committerDavid Runge2019-06-15 00:22:39 +0200
commit74692c1233eaf2aff2771970269ea951c0d7b3f6 (patch)
treebafe7cb5083d30b64ec2e993adf34dfa55bc0b09 /mantisbt.uwsgi
parente7d2d0ef14f171a269e8a0bbe20815981052accd (diff)
downloadaur-74692c1233eaf2aff2771970269ea951c0d7b3f6.tar.gz
PKGBUILD: Upgrading to 2.21.1. Adding sysusers and uwsgi integration. Removing useless optdepends (web servers).
mantisbt.tmpfiles: Adding /run/mantisbt, owned by user/group mantisbt. mantisbt.install: Updating informational printout about requiring separate user. mantisbt.uwsgi: Adding uWSGI integration. mantisbt.sysusers: Adding separate user/group mantisbt.
Diffstat (limited to 'mantisbt.uwsgi')
-rw-r--r--mantisbt.uwsgi33
1 files changed, 33 insertions, 0 deletions
diff --git a/mantisbt.uwsgi b/mantisbt.uwsgi
new file mode 100644
index 00000000000..fb6f31f5415
--- /dev/null
+++ b/mantisbt.uwsgi
@@ -0,0 +1,33 @@
+[uwsgi]
+procname-master = mantisbt
+plugins = php
+master = true
+socket = /run/%n/%n.sock
+stats = /run/%n/%n-stats.sock
+uid = mantisbt
+gid = mantisbt
+processes = 10
+cheaper = 2
+cheaper-step = 1
+idle = 600
+die-on-idle = true
+touch-reload = %p
+
+php-allowed-ext = .php
+php-docroot = /usr/share/webapps/mantisbt
+php-index = index.php
+php-set = date.timezone=Europe/Berlin
+php-set = open_basedir=/tmp/:/usr/share/fonts/TTF:/usr/share/webapps/mantisbt:/usr/share/webapps/mantisbt/core:/etc/webapps/mantisbt
+php-set = session.save_path=/tmp
+php-set = session.gc_maxlifetime 21600
+php-set = session.gc_divisor 500
+php-set = session.gc_probability 1
+php-set = post_max_size=64M
+php-set = upload_max_filesize=64M
+php-set = always_populate_raw_post_data=-1
+
+php-set = extension=curl
+php-set = extension=gd
+php-set = extension=intl
+php-set = extension=mysqli
+php-set = extension=pdo_mysql