Fix permission error preventing upload of large pastes.

This commit is contained in:
Andrei Poenaru
2017-07-06 20:42:19 +00:00
parent 81b938df45
commit b59ddab48d

View File

@@ -7,5 +7,6 @@ if [ ! -f /privatebin/cfg/conf.ini ]; then
cp /privatebin/conf.ini.sample /privatebin/cfg/conf.ini
fi
chown -R privatebin:privatebin /privatebin /var/run/php-fpm.sock /var/lib/nginx /tmp
chown -R privatebin:privatebin /privatebin /var/run/php-fpm.sock /var/lib/nginx /tmp /var/tmp/nginx
supervisord -c /usr/local/etc/supervisord.conf