From d4287b2481b7618d4bd131e797c283fa5aa306d5 Mon Sep 17 00:00:00 2001 From: Jeroen Geusebroek Date: Wed, 21 Feb 2018 08:37:14 +0100 Subject: [PATCH] Fix config overwrite --- entrypoint.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 7b61868..07d3807 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,10 +3,9 @@ addgroup -g ${GID} privatebin && adduser -h /privatebin -s /bin/sh -D -G privatebin -u ${UID} privatebin touch /var/run/php-fpm.sock -if [ ! -f /privatebin/cfg/conf.ini ]; then +if [ ! -f /privatebin/cfg/conf.php ]; then cp /privatebin/conf.sample.php /privatebin/cfg/conf.php fi chown -R privatebin:privatebin /privatebin /var/run/php-fpm.sock /var/lib/nginx /tmp /var/tmp/nginx supervisord -c /usr/local/etc/supervisord.conf -