https://bz.apache.org/bugzilla/show_bug.cgi?id=63041

--- Comment #24 from Mark Thomas <ma...@apache.org> ---
(In reply to Rainer Jung from comment #22)
> Do we actually understand, what would be wrong with the line
> 
> 2\>\&1 \& echo \$! \>\"$catalina_pid_file\" \; \} $catalina_out_command "&"
> 
> (single escaped ampersand)?

If I add set -x to catalina.sh and then execute the full command line that
results I see:

bash: syntax error near unexpected token `}'

My guess is that systemd sees this error and assumes Tomcat failed to start
properly.

I've now got a test environment set up for this with systemd and 9.0.x HEAD.
I'm going to work on a fix but if anyone with better bash foo than me wants to
make a suggestion, I'm happy to try it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to