Default php config with max upload 100 MB
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
toolName="Mayan EDMS"
|
||||
toolVersion="3.2.6"
|
||||
toolVersion="3.2.8"
|
||||
toolRoot="/opt/mayan-edms"
|
||||
toolMediaFolder="/opt/mayan-edms/media"
|
||||
|
||||
@@ -96,6 +96,7 @@ step_10() {
|
||||
endReturn
|
||||
toolScript performupgrade
|
||||
toolScript preparestatic --noinput
|
||||
exe systemctl restart supervisor
|
||||
}
|
||||
uninstallRemovalsLoc="/tmp/removals.txt"
|
||||
|
||||
@@ -106,6 +107,13 @@ step_13() {
|
||||
toolScript "$command"
|
||||
}
|
||||
|
||||
step_15_info() { echo "Upgrade python pip"; }
|
||||
step_15_alias() { ALIAS="upgradepip"; }
|
||||
step_15()
|
||||
{
|
||||
exe ${toolRoot}/bin/pip install --upgrade pip
|
||||
}
|
||||
|
||||
step_20_info() { echo "Backup postgres database to media folder"; }
|
||||
step_20_alias() { ALIAS="backupdb"; }
|
||||
step_20() {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
toolName="pixelfed"
|
||||
toolTag="v0.10.4"
|
||||
toolTag="v0.10.6"
|
||||
toolDeps="composer jpegoptim php7.3-bcmath"
|
||||
toolPath="/var/www/pixelfed"
|
||||
|
||||
|
@@ -89,6 +89,7 @@ step_5() {
|
||||
phpFpmConfigLocation="/etc/php/${phpVersion}/fpm/conf.d/90-custom_pi.ini"
|
||||
phpFpmConfig="\
|
||||
post_max_size=64M
|
||||
upload_max_filesize=100M
|
||||
max_execution_time=600
|
||||
|
||||
apc.enable_cli=1
|
||||
|
Reference in New Issue
Block a user