CATALINA_OUT_CMD usage
Hi,
I would like to use CATALINA_OUT_CMD to pipe stdout/stderr to rotatelogs
like :
CATALINA_
1) /usr/libexec/
Can we add an test to tomcat-start.sh and use "start" instead of "run" if CATALINA_OUT_CMD is defined maybe ?
I can do the change in /usr/libexec/
2) For testing, after changing tomcat-start.sh (from "run" to "start" ), catalina.sh take CATALINA_OUT_CMD but tomcat is killed by systemd
eval \{ $_NOHUP "\"$_RUNJAVA\"" "\"$LOGGING_
-classpath "\"$CLASSPATH\"" \
2\>\&1 \&\& echo \$! \>\"$catalina_
(If I remove the "&" it start and systemd dont kill the tomcat)
Is passing tomcat to background is always a good idea with systemd ? If not, can we open a bug-report to fix it and where ?
tomcat9 9.0.16-3~18.04.1
tomcat9-common 9.0.16-3~18.04.1
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu tomcat9 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- dou
- Solved:
- Last query:
- Last reply: