I have multiple tomcat instances that have to start in order. With the help of After= and Requires= that isn't a real problem with multiple service files.
My problem is now that I need to make suche that the webapp inside is started before the next tomcat starts.
Is it possible to define some kind of delay to assure the startup of the service? I couldn't find anything in the documentation.
Otherwise my last chance would be to wrap around the catalina.sh call with a shell script that I call instead that ensures the startup, but I would prefer to do it with systemd only.
Also, I don't want to modify the code basis, so I can't add sd_notify or anything like it.