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 dec984c commit 4a2f533Copy full SHA for 4a2f533
1 file changed
runtime/layers/function/bootstrap
@@ -3,9 +3,15 @@
3
# Fail on error
4
set -e
5
6
+# if USE_RUNTIME == true
7
+BOOTSTRAP = (${_HANDLER//:/ })[0]
8
+# else
9
+BOOTSTRAP = "/opt/bref/bootstrap.php"
10
+# fi
11
+
12
while true
13
do
14
# We redirect stderr to stdout so that everything
15
# written on the output ends up in Cloudwatch automatically
- /opt/bin/php "/opt/bref/bootstrap.php" 2>&1
16
+ /opt/bin/php "${BOOTSTRAP}" 2>&1
17
done
0 commit comments