11 lines
276 B
Bash
Raw Normal View History

2017-08-27 16:31:04 +02:00
#!/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
2017-08-28 00:37:06 +02:00
chown -R $UID:$GID /rainloop/data /services /var/log /var/lib/nginx
2017-08-27 16:31:04 +02:00
# RUN !
exec su-exec $UID:$GID /bin/s6-svscan /services