mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
7 lines
282 B
Bash
7 lines
282 B
Bash
#!/bin/sh
|
|
sed -i -e "s/<UPLOAD_MAX_SIZE>/$UPLOAD_MAX_SIZE/g" /nginx/conf/nginx.conf /php/etc/php-fpm.conf \
|
|
-e "s/<MEMORY_LIMIT>/$MEMORY_LIMIT/g" /php/etc/php-fpm.conf
|
|
|
|
chown -R $UID:$GID /privatebin /nginx /php /tmp /etc/s6.d
|
|
exec su-exec $UID:$GID /bin/s6-svscan /etc/s6.d
|