Ignore:
Timestamp:
2014-10-17T16:29:16+13:00 (10 years ago)
Author:
ak19
Message:

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/greenstone3/gems.app/Contents/document.wflow.in

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