Skip to content

Commit 2fb2a4d

Browse files
committed
warn and no longer generate an app key
1 parent 255cece commit 2fb2a4d

File tree

1 file changed

+2
-3
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-speedtest-tracker-config

1 file changed

+2
-3
lines changed

root/etc/s6-overlay/s6-rc.d/init-speedtest-tracker-config/run

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,8 @@ done
8585
# Check for app key
8686
if [[ -z ${APP_KEY} ]]; then
8787
if ! grep -E "APP_KEY=[0-9A-Za-z:+\/=]{1,}" /app/www/.env > /dev/null; then
88-
export APP_KEY=$(s6-setuidgid abc php /app/www/artisan key:generate --show)
89-
echo "An application key was generated at start up, as no environment variable was set."
90-
echo "To set an application key that persists, read the docs: https://docs.speedtest-tracker.dev/"
88+
echo "An application key is missing!"
89+
echo "Go to https://speedtest-tracker.dev/ generate an application key."
9190
fi
9291
fi
9392

0 commit comments

Comments
 (0)