|
@@ -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:
|