Mercurial Hosting > luan
diff host/start.sh @ 2024:fa8304b060d9
rename launching luan files
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Wed, 29 Oct 2025 21:12:53 -0600 |
| parents | 665049cffc02 |
| children |
line wrap: on
line diff
--- a/host/start.sh Mon Oct 20 17:34:14 2025 -0600 +++ b/host/start.sh Wed Oct 29 21:12:53 2025 -0600 @@ -1,11 +1,6 @@ #!/bin/bash - set -e -#seconds to wait -toWait=10; -i=0; - . check_app.sh; checkStopped; @@ -16,12 +11,15 @@ touch started.lock; sudo $(which nginx) -c $(pwd)/local/nginx.conf; if [ "$1" == "launchd" ]; then - java -Xms1024M -classpath $CLASSPATH luan.Luan run.luan logs 1>logs/stdout.log 2>logs/stderr.log + java -Xms1024M -classpath $CLASSPATH luan.Luan run_host.luan logs 1>logs/stdout.log 2>logs/stderr.log else - java -Xms1024M -classpath $CLASSPATH luan.Luan run.luan logs 1>logs/stdout.log 2>logs/stderr.log & + java -Xms1024M -classpath $CLASSPATH luan.Luan run_host.luan logs 1>logs/stdout.log 2>logs/stderr.log & getPids; if [ "$PIDS" == "" ]; then + #seconds to wait + toWait=10; + i=0; while [ $i -lt $toWait ]; do sleep 1; getPids;
