Эх сурвалжийг харах

bug fix: not stop in stop function in setup file when type of "mono vm" changed.

Koji Yusa 12 жил өмнө
parent
commit
cb39f6f24f

+ 1 - 1
aspnet/setup_nginx.py

@@ -36,5 +36,5 @@ def stop():
   
   subprocess.check_call("sudo /usr/local/nginx/sbin/nginx -c " + root + "/nginx.conf -s stop", shell=True)
   subprocess.check_call("rm -f " + root + "/nginx.upstream.conf", shell=True)
-  subprocess.check_call("pkill -9 mono", shell=True)
+  subprocess.check_call("pkill -9 mono-sgen", shell=True)
   return 0

+ 1 - 1
nancy/setup_nginx.py

@@ -35,5 +35,5 @@ def stop():
   
   subprocess.check_call("sudo /usr/local/nginx/sbin/nginx -c " + root + "/nginx.conf -s stop", shell=True)
   subprocess.check_call("rm -f " + root + "/nginx.upstream.conf", shell=True)
-  subprocess.check_call("pkill -9 mono", shell=True)
+  subprocess.check_call("pkill -9 mono-sgen", shell=True)
   return 0

+ 1 - 1
servicestack/setup_nginx.py

@@ -35,5 +35,5 @@ def stop():
   
   subprocess.check_call("sudo /usr/local/nginx/sbin/nginx -c " + root + "/nginx.conf -s stop", shell=True)
   subprocess.check_call("rm -f " + root + "/nginx.upstream.conf", shell=True)
-  subprocess.check_call("pkill -9 mono", shell=True)
+  subprocess.check_call("pkill -9 mono-sgen", shell=True)
   return 0