mirror of
https://github.com/linuxserver/docker-bookstack.git
synced 2026-02-20 02:30:30 +08:00
Merge pull request #15 from linuxserver/fixing-appkey
removed / removing from app key and changed associated sed delimiter
This commit is contained in:
commit
8551550ce2
@ -27,7 +27,7 @@ done
|
||||
if [ ! -f "/config/BOOKSTACK_APP_KEY.txt" ];
|
||||
then
|
||||
echo "Generating BookStack app key for first run"
|
||||
key=$(php /var/www/html/artisan key:generate --show | tr -d '//' )
|
||||
key=$(php /var/www/html/artisan key:generate --show)
|
||||
echo $key > /config/BOOKSTACK_APP_KEY.txt
|
||||
echo "App Key set to $key you can modify the file to update /config/BOOKSTACK_APP_KEY.txt"
|
||||
elif [ -f "/config/BOOKSTACK_APP_KEY.txt" ];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user