Skip to content

Commit 6bfe392

Browse files
committed
Add env file loading
1 parent 2930cf0 commit 6bfe392

File tree

1 file changed

+6
-0
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-nextcloud-config

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#!/usr/bin/with-contenv bash
22
# shellcheck shell=bash
33

4+
# load env file if it exists
5+
if [[ -f "/config/env" ]]; then
6+
# shellcheck source=/dev/null
7+
source /config/env
8+
fi
9+
410
# create folders
511
mkdir -p \
612
/app/www/public \

0 commit comments

Comments
 (0)