comparison host/start.sh @ 2062:5ede71739221

merge branches
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 15 Nov 2025 18:07:51 -0700
parents 1f4c590bf0ae
children
comparison
equal deleted inserted replaced
2047:ea026254b3b6 2062:5ede71739221
8 8
9 mkdir -p logs 2>/dev/null; 9 mkdir -p logs 2>/dev/null;
10 10
11 touch started.lock; 11 touch started.lock;
12 sudo $(which nginx) -c $(pwd)/local/nginx.conf; 12 sudo $(which nginx) -c $(pwd)/local/nginx.conf;
13
13 if [ "$1" == "launchd" ]; then 14 if [ "$1" == "launchd" ]; then
14 java -Xms1024M -classpath $CLASSPATH luan.Luan run_host.luan logs 1>logs/stdout.log 2>logs/stderr.log 15 java -Xms1024M -classpath $CLASSPATH luan.Luan run_host.luan logs 1>logs/stdout.log 2>logs/stderr.log
15 else 16 else
16 java -Xms1024M -classpath $CLASSPATH luan.Luan run_host.luan logs 1>logs/stdout.log 2>logs/stderr.log & 17 java -Xms1024M -classpath $CLASSPATH luan.Luan run_host.luan logs 1>logs/stdout.log 2>logs/stderr.log &
17 18