We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edfa7b4 commit 79c81a1Copy full SHA for 79c81a1
root/etc/cont-init.d/50-config
@@ -11,7 +11,13 @@ mkdir -p \
11
[[ ! -L /var/www/html/public/uploads ]] && \
12
ln -sf /config/uploads /var/www/html/public/uploads
13
[[ ! -L /var/www/html/.env ]] && \
14
- ln -sf /config/env /var/www/html/.env
+ ln -sf /config/.env /var/www/html/.env
15
+
16
+ for i in "${symlinks[@]}"
17
+ do
18
+ [[ -e "$i" && ! -L "$i" ]] && rm -rf "$i"
19
+ [[ ! -L "$i" ]] && ln -s /config/www/"$(basename "$i")" "$i"
20
+ done
21
22
# Create API key if needed
23
if [ ! -f "/config/BOOKSTACK_APP_KEY.txt" ]
0 commit comments