summaryrefslogtreecommitdiffstats
path: root/abs/core/supplemental-web/contents
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-12-27 16:28:08 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-12-27 16:28:08 (GMT)
commit41668fbd9181cc036cb17fedca197e858c95bfe6 (patch)
tree228b7742383011d346a9bd05c042224d49c789a1 /abs/core/supplemental-web/contents
parent355afddbb2ce54ed1dcc59d88ed30b66f5cffbd8 (diff)
downloadlinhes_pkgbuild-41668fbd9181cc036cb17fedca197e858c95bfe6.zip
linhes_pkgbuild-41668fbd9181cc036cb17fedca197e858c95bfe6.tar.gz
linhes_pkgbuild-41668fbd9181cc036cb17fedca197e858c95bfe6.tar.bz2
supplemental-web: fix command to run for a manual system backup.
refs #806
Diffstat (limited to 'abs/core/supplemental-web/contents')
-rw-r--r--abs/core/supplemental-web/contents/process.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/abs/core/supplemental-web/contents/process.py b/abs/core/supplemental-web/contents/process.py
index 93d16d9..1099817 100644
--- a/abs/core/supplemental-web/contents/process.py
+++ b/abs/core/supplemental-web/contents/process.py
@@ -99,11 +99,10 @@ def isblank(indict):
def go_backup(myhost):
myhostname = socket.gethostname()
results="Nothing happened"
- if myhostname.strip() == myhost.strip():
- command= "sudo /usr/MythVantage/bin/backup_job"
- command2="sleep 1; /data/srv/hobbit/server/ext/hbnotes.py"
- results=os.popen(command,'r')
- os.popen(command2,'r')
+ command= "sudo /usr/LH/bin/lh_system_backup_job"
+ command2="sleep 1; /data/srv/hobbit/server/ext/hbnotes.py"
+ results=os.popen(command,'r')
+ os.popen(command2,'r')
return results