Browse Source

Zend framework 1 setup.py cleanup

Fixes https://github.com/TechEmpower/FrameworkBenchmarks/pull/874#discussion_r16033730
Gerard Roche 10 years ago
parent
commit
d976c8415e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/PHP/php-zend-framework1/setup.py

+ 1 - 1
frameworks/PHP/php-zend-framework1/setup.py

@@ -17,7 +17,7 @@ def start(args, logfile, errfile):
 def stop(logfile, errfile):
   try:
     subprocess.call("sudo /usr/local/nginx/sbin/nginx -s stop", shell=True, stderr=errfile, stdout=logfile)
-    subprocess.call("sudo kill -QUIT $( cat php-zend-framework1/deploy/php-fpm.pid )", shell=True, stderr=errfile, stdout=logfile)
+    subprocess.call("sudo kill -QUIT $( cat $TROOT/deploy/php-fpm.pid )", shell=True, stderr=errfile, stdout=logfile)
     subprocess.check_call("sudo chown -R $USER:$USER php-zend-framework1", shell=True, stderr=errfile, stdout=logfile)
     return 0
   except subprocess.CalledProcessError: