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

--- Comment #26 from Mark Thomas <ma...@apache.org> ---
Got it.

With the single & the pid of the process that is put in the background is not
the pid of the Tomcat process. If I specify $CATALINA_PID and then configure
systemd to use the same file with PIDFILE everything starts working.

That final "&" prevents the eval command being written to the console when
using catalina.sh start

Assuming the above is correct I think we have two options:

1. Revert the "&" -> "&&" change. systemd users (and possibly others) will be
required to use a PID file and to tell systemd where to find that file.

2. Revert both changes. systemd users will have to take no action. Users
wanting to redirect to a command will have to use a named pipe.

I'm leaning towards 2 on the grounds this has the least impact on the smallest
number of users. This assumes that the number of systemd users is greater than
the number of users wanting to redirect to a command.

-- 
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