Browse Source

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

Koji Yusa 12 years ago
parent
commit
cb39f6f24f
3 changed files with 3 additions and 3 deletions
  1. 1 1
      aspnet/setup_nginx.py
  2. 1 1
      nancy/setup_nginx.py
  3. 1 1
      servicestack/setup_nginx.py

+ 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