Files
Phraseanet/docker/phraseanet/boot.sh
2019-09-27 16:28:49 +02:00

15 lines
289 B
Bash
Executable File

#!/bin/bash
set -xe
chown -R app:app /var/alchemy/Phraseanet/config
FILE=/var/alchemy/Phraseanet/config/configuration.yml
if [ -f "$FILE" ]; then
echo "$FILE exist, skip setup."
else
echo "$FILE doesn't exist, entering setup..."
runuser app -c '/auto-install.sh'
fi
php-fpm