dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #25034
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12340: Fixed problem with tools preventing dhis instance to start on reboot.
------------------------------------------------------------
revno: 12340
committer: Bob Jolliffe <bobjolliffe@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2013-09-30 16:14:20 +0100
message:
Fixed problem with tools preventing dhis instance to start on reboot.
modified:
tools/dhis2-tools-deb/pkg/usr/bin/dhis2-startup
--
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/usr/bin/dhis2-startup'
--- tools/dhis2-tools-deb/pkg/usr/bin/dhis2-startup 2013-06-14 13:19:16 +0000
+++ tools/dhis2-tools-deb/pkg/usr/bin/dhis2-startup 2013-09-30 15:14:20 +0000
@@ -14,6 +14,8 @@
INSTANCE=$1
CATALINA_BASE=/var/lib/dhis2/$INSTANCE
+# required for cron - USER env variable is not defined
+USER=$LOGNAME
if [ "$USER" == "$INSTANCE" ]
then