Ignore:
Timestamp:
10/17/14 17:47:05 (6 years ago)
Author:
ak19
Message:

Related to previous commit 29377 and ticket 891. The previous commit was for GS3, this one is for GS2. Redirecting stderr and stdout to a logfile with the same name as the app file and located in gsdl3srchome/web/logs, if writable, or otherwise in /tmp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/gli.app/Contents/document.wflow.in

    r23963 r29378  
    5656                <dict>
    5757                    <key>COMMAND_STRING</key>
    58                     <string>**GSDLHOME**/gli/gli.sh</string>
     58                    <string>logdir=/tmp
     59if test -w **GSDLHOME**/etc/logs-gsi; then
     60  logdir=**GSDLHOME**/etc/logs-gsi
     61fi
     62exec 2&gt;$logdir/gli.output
     63&gt;&amp;2 echo "GSDLHOME is |**GSDLHOME**|"
     64printenv 1&gt;&amp;2
     65**GSDLHOME**/gli/gli.sh</string>
    5966                    <key>CheckedForUserDefaultShell</key>
    6067                    <true/>
Note: See TracChangeset for help on using the changeset viewer.