source: main/trunk/greenstone3/bin/script/xvfb-run-java@ 37027

Last change on this file since 37027 was 37027, checked in by davidb, 18 months ago

Ran into problems when there was more than one Greenstone3 running on the same server. Both 'xvf-run' commands try to use DISPLAY :99. Adding in -a means it auto increments the number until it finds a port that is free. The Java/Tomcact/Webswing-server app connects to this version for its rendering; the second minus argument addition means the more detailed error messages are reported

  • Property svn:executable set to *
File size: 51 bytes
Line 
1#!/bin/bash
2
3xvfb-run -a -e /dev/stdout java "$@"
4
Note: See TracBrowser for help on using the repository browser.