mirror of
https://github.com/valitydev/docker-misp.git
synced 2024-11-06 08:45:18 +00:00
Use globs fixes #11
This commit is contained in:
parent
693fae2892
commit
eeeec0264a
@ -13,8 +13,9 @@ ENTRYPOINT_PID_FILE="/entrypoint_apache.install"
|
||||
[ ! -f $ENTRYPOINT_PID_FILE ] && touch $ENTRYPOINT_PID_FILE
|
||||
|
||||
change_php_vars(){
|
||||
for FILE in $(ls /etc/php/*/apache2/php.ini)
|
||||
for FILE in /etc/php/*/apache2/php.ini
|
||||
do
|
||||
[[ -e $FILE ]] || break
|
||||
sed -i "s/memory_limit = .*/memory_limit = 2048M/" "$FILE"
|
||||
sed -i "s/max_execution_time = .*/max_execution_time = 300/" "$FILE"
|
||||
sed -i "s/upload_max_filesize = .*/upload_max_filesize = 50M/" "$FILE"
|
||||
|
Loading…
Reference in New Issue
Block a user