kubernetes #comment fix permissions on datas and thumbnails directory at startup

This commit is contained in:
Alexandre BRACH
2019-09-27 17:02:51 +02:00
parent b87ab0cd08
commit c85796fb29

View File

@@ -3,6 +3,8 @@
set -xe
chown -R app:app /var/alchemy/Phraseanet/config
chown -R app:app /var/alchemy/Phraseanet/datas
chown -R app:app /var/alchemy/Phraseanet/www/thumbnails
FILE=/var/alchemy/Phraseanet/config/configuration.yml
if [ -f "$FILE" ]; then
echo "$FILE exist, skip setup."