diff host/start.sh @ 1633:665049cffc02

fix path
author fffilimonov
date Tue, 14 Dec 2021 07:55:47 -0600
parents b735ed134662
children
line wrap: on
line diff
--- a/host/start.sh	Tue Dec 14 07:41:01 2021 +0000
+++ b/host/start.sh	Tue Dec 14 07:55:47 2021 -0600
@@ -14,7 +14,7 @@
 mkdir -p logs 2>/dev/null;
 
 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
 else
@@ -34,5 +34,3 @@
 
   checkRunning;
 fi;
-
-sudo $(which nginx) -c $(pwd)/local/nginx.conf;