wip
This commit is contained in:
@@ -8,16 +8,17 @@ run_as_www_user() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if [[ -z "$APP_KEY" ]]; then
|
if [[ -z "$APP_KEY" ]]; then
|
||||||
echo " > The required APP_KEY configuration is missing in your .env file. Copy and paste this key into your .env file. Then restart the container!"
|
echo " > The required APP_KEY configuration is missing in your .env file. "
|
||||||
|
echo " > Copy and paste this key into your .env file. Then restart the container! "
|
||||||
|
|
||||||
draw_box() {
|
draw_box() {
|
||||||
local text="$1"
|
local text="$1"
|
||||||
local length=${#text}
|
local length=${#text}
|
||||||
local border=$(printf '%*s' "$((length + 4))" | tr ' ' '*')
|
local border=$(printf '%*s' "$((length + 4))" | tr ' ' '*')
|
||||||
|
|
||||||
echo "*$border*"
|
echo "$border"
|
||||||
echo "* $text *"
|
echo "* $text *"
|
||||||
echo "*$border*"
|
echo "$border"
|
||||||
}
|
}
|
||||||
|
|
||||||
draw_box "base64:$(openssl rand -base64 32)"
|
draw_box "base64:$(openssl rand -base64 32)"
|
||||||
|
|||||||
Reference in New Issue
Block a user