rabin 7 gadi atpakaļ
vecāks
revīzija
d5cfbe9078
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. 5 5
      admin/page/hardware.py

+ 5 - 5
admin/page/hardware.py

@@ -108,29 +108,29 @@ class restart_cron_path(Load):
 	@Web.auth
 	@Web.setting
 	def post(self):
-		Shell.popen('ps -ef | grep cron.py | grep -v grep |awk '{print $1}'|xargs kill -9')
+		Shell.popen("ps -ef | grep cron.py | grep -v grep |awk '{print $1}'|xargs kill -9")
 		Shell.popen('./cron.py >/dev/null &')
 
 class restart_sub_path(Load):
 	@Web.auth
 	@Web.setting
 	def post(self):
-		Shell.popen('ps -ef | grep sub.py | grep -v grep |awk '{print $1}'|xargs kill -9')
+		Shell.popen("ps -ef | grep sub.py | grep -v grep |awk '{print $1}'|xargs kill -9")
 
 class restart_admin_path(Load):
 	@Web.auth
 	@Web.setting
 	def post(self):
-		Shell.popen('ps -ef | grep admin.py | grep -v grep |awk '{print $1}'|xargs kill -9')
+		Shell.popen("ps -ef | grep admin.py | grep -v grep |awk '{print $1}'|xargs kill -9")
 
 class restart_front_path(Load):
 	@Web.auth
 	@Web.setting
 	def post(self):
-		Shell.popen('ps -ef | grep front.py | grep -v grep |awk '{print $1}'|xargs kill -9')
+		Shell.popen("ps -ef | grep front.py | grep -v grep |awk '{print $1}'|xargs kill -9")
 
 class restart_web_path(Load):
 	@Web.auth
 	@Web.setting
 	def post(self):
-		Shell.popen('ps -ef | grep web.py | grep -v grep |awk '{print $1}'|xargs kill -9')
+		Shell.popen("ps -ef | grep web.py | grep -v grep |awk '{print $1}'|xargs kill -9")