no need to actualize since that just refreshes the feeds
This commit is contained in:
parent
960dac68a8
commit
d26b15cb7b
5
start.sh
5
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}"
|
||||
|
|
Loading…
Reference in New Issue