[CentOS] Help with systemd

Wed Sep 23 22:56:45 UTC 2015
Dennis Jacobfeuerborn <dennisml at conversis.de>

On 24.09.2015 00:06, John R Pierce wrote:
> On 9/23/2015 2:58 PM, Jonathan Billings wrote:
>> 1.) why 'cd /greenstone/gs3 && ant start' when you could just run
>> '/greenstone/gs3/ant start'.
> 
> thats *not* equivalent, unless ant is in /greenstone/gs3 *and* . is in
> the path, and even then,  ant looks for build.xml in the current path
> when its invoked, so the cd /path/to/build/  is appropriate.

Mind you I only work with ant very rarely but what should work is this:
/path/to/ant -buildfile /greenstone/gs3/build,xml -Dbasedir=/greenstone/gs3

Regards,
  Dennis