summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--abs/core/supplemental-web/PKGBUILD2
-rw-r--r--abs/core/supplemental-web/contents/process.py9
2 files changed, 5 insertions, 6 deletions
diff --git a/abs/core/supplemental-web/PKGBUILD b/abs/core/supplemental-web/PKGBUILD
index ad10a79..4d38ac7 100644
--- a/abs/core/supplemental-web/PKGBUILD
+++ b/abs/core/supplemental-web/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=supplemental-web
pkgver=1.0
-pkgrel=12
+pkgrel=13
arch=('i686')
MVDIR=$startdir/pkg/usr/MythVantage
install=supplemental-web.install
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