瀏覽代碼

Fixed an age-old problem with restarting mongo

Mike Smith 11 年之前
父節點
當前提交
5965afe675
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      toolset/benchmark/benchmarker.py

+ 2 - 2
toolset/benchmark/benchmarker.py

@@ -532,9 +532,9 @@ class Benchmarker:
           p = subprocess.Popen(self.database_ssh_string, stdin=subprocess.PIPE, stdout=out, stderr=err, shell=True)
           p.communicate("""
             sudo restart mysql
-            sudo restart mongodb
+            sudo restart mongod
             sudo service redis-server restart
-            sudo /etc/init.d/postgresql restart
+            sudo service postgresql restart
           """)
           time.sleep(10)