summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/local-website/contents
diff options
context:
space:
mode:
Diffstat (limited to 'abs/mv-core/local-website/contents')
-rwxr-xr-xabs/mv-core/local-website/contents/process.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/abs/mv-core/local-website/contents/process.py b/abs/mv-core/local-website/contents/process.py
index b390440..99404a4 100755
--- a/abs/mv-core/local-website/contents/process.py
+++ b/abs/mv-core/local-website/contents/process.py
@@ -222,13 +222,15 @@ def go_wake(myhost):
def go_kill(myhost,kill_type):
myhostname = socket.gethostname()
if myhostname.strip() == myhost.strip():
- cmd="sudo /usr/bin/update_systemno_op "
- command=cmd + kill_type
+ if kill_type == "killX":
+ command="sudo /sbin/sv restart frontend"
+ else:
+ command="sudo /usr/bin/killall -9 mythfrontend"
else:
cmd=" call fe_restart "
cmd+=kill_type
command="sudo /usr/bin/func \"" + myhost.strip() + "*\" " + cmd
- print command
+ #print command
results=os.popen(command,'r')
return results