Skip to content

Commit 9c475e4

Browse files
allow specification of ENTRYPOINTS_DIR
1 parent 0700cb1 commit 9c475e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init-plain/usr/local/bin/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ echo "[II] qnib/init-plain script v0.4.18"
33
set -e
44

55
if [[ -z ${SKIP_ENTRYPOINTS} ]];then
6-
for x in $(find /opt/qnib/entry/ -type f -perm /u+x |sort);do
6+
for x in $(find ${ENTRYPOINTS_DIR:-/opt/qnib/entry/} -type f -perm /u+x |sort);do
77
echo "> execute entrypoint '${x}'"
88
if [[ "$x" == *.env ]];then
99
source ${x}

0 commit comments

Comments
 (0)