diff --git a/start.sh b/start.sh index de6081e..48c42a3 100755 --- a/start.sh +++ b/start.sh @@ -14,12 +14,10 @@ if ! [ -f /app/data/.installed ]; then --db-base "${MYSQL_DATABASE}" --db-prefix "" \ --disable_update php cli/create-user.php --user admin --password changeme --language en - php cli/actualize-user.php --user admin touch /app/data/.installed echo "==> Done." fi - echo "==> Symlinking log file" rm -f /app/data/users/_/log_api.txt touch /tmp/log_api.txt @@ -33,7 +31,6 @@ for f in $(ls /app/code/extensions-orig); do cp -r "/app/code/extensions-orig/$f" "/app/data/extensions" done - echo "==> Updating config file" php cli/reconfigure.php --default_user admin --base_url "https://${APP_DOMAIN}" \ --db-type mysql --db-host "${MYSQL_HOST}" \ @@ -41,11 +38,9 @@ php cli/reconfigure.php --default_user admin --base_url "https://${APP_DOMAIN}" --db-base "${MYSQL_DATABASE}" --db-prefix "" \ --disable_update - echo "==> Setting permissions" chown -R www-data.www-data /run/php /app/data /tmp/log_api.txt - echo "==> Starting apache" APACHE_CONFDIR="" source /etc/apache2/envvars rm -f "${APACHE_PID_FILE}"