aboutsummaryrefslogtreecommitdiff
path: root/virtual/packages/piedsjaloux.nix
diff options
context:
space:
mode:
Diffstat (limited to 'virtual/packages/piedsjaloux.nix')
-rw-r--r--virtual/packages/piedsjaloux.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/virtual/packages/piedsjaloux.nix b/virtual/packages/piedsjaloux.nix
index 819bafb..1c3d8b7 100644
--- a/virtual/packages/piedsjaloux.nix
+++ b/virtual/packages/piedsjaloux.nix
@@ -38,6 +38,7 @@ let
38 php_admin_value[post_max_size] = 20M 38 php_admin_value[post_max_size] = 20M
39 ;php_admin_flag[log_errors] = on 39 ;php_admin_flag[log_errors] = on
40 php_admin_value[open_basedir] = "${configRoot}:${webappDir}:${varDir}:/tmp" 40 php_admin_value[open_basedir] = "${configRoot}:${webappDir}:${varDir}:/tmp"
41 php_admin_value[session.save_path] = "${varDir}/phpSessions"
41 ${if environment == "dev" then '' 42 ${if environment == "dev" then ''
42 pm = ondemand 43 pm = ondemand
43 pm.max_children = 5 44 pm.max_children = 5
@@ -123,6 +124,7 @@ let
123 text = '' 124 text = ''
124 install -m 0755 -o ${apache.user} -g ${apache.group} -d ${varDir} \ 125 install -m 0755 -o ${apache.user} -g ${apache.group} -d ${varDir} \
125 ${varDir}/tmp 126 ${varDir}/tmp
127 install -m 0750 -o ${apache.user} -g ${apache.group} -d ${varDir}/phpSessions
126 if [ ! -f "${varDir}/currentWebappDir" -o \ 128 if [ ! -f "${varDir}/currentWebappDir" -o \
127 "${webappDir}" != "$(cat ${varDir}/currentWebappDir 2>/dev/null)" ]; then 129 "${webappDir}" != "$(cat ${varDir}/currentWebappDir 2>/dev/null)" ]; then
128 pushd ${webappDir} > /dev/null 130 pushd ${webappDir} > /dev/null