Le 06/10/2022 à 02:37, Thorsten Glaser a écrit :

There’s more to this than the script though. Go checkout
the sysvinit branch and look at these, please:

- debian/libexec/sysv-getjre.sh
- debian/libexec/sysv-start.sh

I got a look at the scripts, if I understand well:

- sysv-getjre.sh is a wrapper around tomcat-locate-java.sh which displays the JRE selected. It also calls setclasspath.sh, but I fail to understand why since it's already called by catalina.sh

- sysv-start.sh is wrapper around tomcat-start.sh, it exports several LC_* variables but I don't remember having this in the init script of previous tomcat packages. Why is this needed? Would this be useful in a non systemd environment, like a Docker container launching Tomcat?

Emmanuel Bourg

Reply via email to