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 44fe606 commit cbd7006Copy full SHA for cbd7006
start.sh
@@ -21,11 +21,11 @@ export DISCOVERY_AS_LOCALHOST=${DISCOVERY_AS_LOCALHOST:-true}
21
export EXPLORER_APP_ROOT=${EXPLORER_APP_ROOT:-dist}
22
export PORT=${PORT:-8080}
23
24
-function log_exit() {
+log_exit() {
25
echo "Server stopped"
26
exit
27
}
28
-trap log_exit SIGINT EXIT
+trap log_exit INT EXIT
29
echo "Server running..."
30
31
node ${EXPLORER_APP_ROOT}/main.js name - hyperledger-explorer
0 commit comments