← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11498: Removed nginx dependency

 

------------------------------------------------------------
revno: 11498
committer: Bob Jolliffe <bobjolliffe@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2013-07-24 11:40:59 +0100
message:
  Removed nginx dependency
  Changed env variable in backup script ($USER is not available to crontab)
modified:
  tools/dhis2-tools-deb/pkg/DEBIAN/control
  tools/dhis2-tools-deb/pkg/usr/bin/dhis2-backup


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'tools/dhis2-tools-deb/pkg/DEBIAN/control'
--- tools/dhis2-tools-deb/pkg/DEBIAN/control	2013-05-28 13:41:20 +0000
+++ tools/dhis2-tools-deb/pkg/DEBIAN/control	2013-07-24 10:40:59 +0000
@@ -4,7 +4,7 @@
 Architecture: all
 Maintainer: DHIS2 developers <dhis2-devs@xxxxxxxxxxxxxxxxxxx>
 Installed-Size: 236
-Depends: openjdk-7-jdk,tomcat7-common (>= 7.0.26-1ubuntu1.1),netcat,nginx,ttf-liberation,libtcnative-1,makepasswd,postgresql-9.2
+Depends: postgresql-client-9.2, openjdk-7-jdk,tomcat7-common (>= 7.0.26-1ubuntu1.1),netcat,ttf-liberation,libtcnative-1,makepasswd
 Section: java
 Priority: optional
 Homepage: http://launchpad.net/dhis2

=== modified file 'tools/dhis2-tools-deb/pkg/usr/bin/dhis2-backup'
--- tools/dhis2-tools-deb/pkg/usr/bin/dhis2-backup	2013-05-28 12:06:12 +0000
+++ tools/dhis2-tools-deb/pkg/usr/bin/dhis2-backup	2013-07-24 10:40:59 +0000
@@ -9,9 +9,9 @@
 #########################################################
 
 BACKUP_DIR=~/backups/
-# REMOTE="ghbackup@178.79.143.102:./dhis"
-USER=$USER
-DBNAME=$USER
+# REMOTE="xxxx@xxxxxx:./dhis"
+USER=$LOGNAME
+DBNAME=$LOGNAME
 # Keep Sunday's backup
 DAY_OF_WEEK_TO_KEEP=7
 WEEKS_TO_KEEP=6