1
0
mirror of https://github.com/hoellen/dockerfiles.git synced 2025-07-26 02:45:38 +00:00
Files
boring-nginx
matomo
nextcloud
nginx-php
privatebin
rootfs
nginx
usr
local
bin
run.sh
Dockerfile
README.md
searx
unmaintained
LICENSE
README.md
dockerfiles/privatebin/rootfs/usr/local/bin/run.sh
2017-04-29 03:16:15 +02:00

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