Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion rootfs/usr/local/bin/startup
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ if [ -e '/flarum/app/public/assets/rev-manifest.json' ] || [ -e '/flarum/app/pub
-e "s|<FORUM_URL>|${FORUM_URL}|g" /flarum/app/config.php.sample

cp -p /flarum/app/config.php.sample /flarum/app/config.php
su-exec "${UID}:${GID}" php /flarum/app/flarum cache:clear

# Download extra extensions installed with composer wrapup script
if [ -s "${LIST_FILE}" ]; then
Expand All @@ -94,6 +93,8 @@ if [ -e '/flarum/app/public/assets/rev-manifest.json' ] || [ -e '/flarum/app/pub
echo "[INFO] No installed extensions"
fi

su-exec "${UID}:${GID}" php /flarum/app/flarum cache:clear

echo "[INFO] Flarum already installed, init app: DONE"
else
# if no installation was performed before
Expand Down