summarylogtreecommitdiffstats
path: root/z-push.conf
diff options
context:
space:
mode:
authorMartina Pietruschka2015-06-08 22:25:47 +0000
committerMartina Pietruschka2015-06-08 22:25:47 +0000
commit1b7a6d1c62b7c1ac40f27fbb2f36d9d24fb09059 (patch)
treee89162de9770c6d4e07b7ea807594a5d5f02c2b1 /z-push.conf
downloadaur-1b7a6d1c62b7c1ac40f27fbb2f36d9d24fb09059.tar.gz
Initial import
Diffstat (limited to 'z-push.conf')
-rw-r--r--z-push.conf35
1 files changed, 35 insertions, 0 deletions
diff --git a/z-push.conf b/z-push.conf
new file mode 100644
index 00000000000..ea8006c64b5
--- /dev/null
+++ b/z-push.conf
@@ -0,0 +1,35 @@
+[z-push]
+listen = /run/php-fpm/z-push.sock
+listen.owner = http
+listen.group = http
+listen.mode = 0666
+
+
+user = http
+group = http
+
+# z-push for 5 users
+pm = ondemand
+pm.max_children = 15
+pm.max_requests = 500
+
+env[HOSTNAME] = $HOSTNAME
+env[PATH] = /usr/local/bin:/usr/bin:/bin
+env[TMP] = /tmp
+env[TMPDIR] = /tmp
+env[TEMP] = /tmp
+env[HOME] = /home
+
+php_admin_value[memory_limit] = 128M
+php_admin_value[open_basedir] = ${open_basedir}:/usr/share/webapps/z-push:/etc/webapps/z-push:/var/lib/z-push:/var/log/z-push:/usr/share/php/mapi
+
+php_admin_value[upload_max_filesize] = 20M
+php_admin_value[post_max_size] = 20M
+php_admin_value[date.timezone] = Europe/Berlin
+
+## https://z-push.org/svn/z-push/trunk/src/INSTALL
+##
+php_flag[magic_quotes_gpc] = off
+php_flag[register_globals] = off
+php_flag[magic_quotes_runtime] = off
+php_flag[short_open_tag] = on