1064287 - Use systemctl show to get the pid since /var/run/tomcat.pid is empty.

Otherwise wait-for-pid is not waiting, really.