feat(): add UPLOAD_MAX_SIZE variable
This commit is contained in:
10
rootfs/usr/local/bin/run.sh
Normal file
10
rootfs/usr/local/bin/run.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Set attachment size limit
|
||||
sed -i "s/<UPLOAD_MAX_SIZE>/$UPLOAD_MAX_SIZE/g" /etc/php7/php-fpm.conf /etc/nginx/nginx.conf
|
||||
|
||||
# Fix permissions
|
||||
chown -R $UID:$GID /rainloop /services /var/log /var/lib/nginx
|
||||
|
||||
# RUN !
|
||||
exec su-exec $UID:$GID /bin/s6-svscan /services
|
Reference in New Issue
Block a user