Browse Source

Update dancer's nginx.conf to find new test root

Hamilton Turner 11 years ago
parent
commit
8a80e33c80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/Perl/dancer/setup.py

+ 1 - 1
frameworks/Perl/dancer/setup.py

@@ -8,7 +8,7 @@ import getpass
 def start(args, logfile, errfile):
   setup_util.replace_text("dancer/app.pl", "localhost", args.database_host)
   setup_util.replace_text("dancer/nginx.conf", "USR", getpass.getuser())
-  setup_util.replace_text("dancer/nginx.conf", "server unix:.*\/FrameworkBenchmarks", "server unix:" + args.fwroot)
+  setup_util.replace_text("dancer/nginx.conf", "server unix:.*\/FrameworkBenchmarks/dancer", "server unix:" + args.troot)
 
   try:
     subprocess.Popen("plackup -E production -s Starman --workers=" + str(args.max_threads) + " -l $TROOT/frameworks-benchmark.sock -a ./app.pl", shell=True, cwd="dancer", stderr=errfile, stdout=logfile)