| --- from_file | |
| +++ # adapt paths: | |
| @@ -8,4 +8,9 @@ | |
| # adapt java options to suit your needs: | |
| env CATALINA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=999m -Dfile.encoding=UTF8" | |
| - exec $CATALINA_HOME/bin/catalina.sh run | |
| + # Manually specify CATALINA_OUT, so we can redirect ourselves | |
| + env CATALINA_OUT=$CATALINA_HOME/logs/catalina.out | |
| + | |
| + # Stop upstart from handling stdout/stderr & redirect to the log file ourselves | |
| + console none | |
| + exec $CATALINA_HOME/bin/catalina.sh run >> "$CATALINA_OUT" 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment