The difference between the new start-confluence, stop-confluence Scripts and the old startup, shutdown Scripts
The difference between the new start and stop script versus the old startup and shutdown is that the new script kills the Tomcat process if it does not shut down cleanly within 20 seconds.
How It Works
When Confluence is started using start-confluence.sh/start-confluence.bat
script it records the process id (pid
) of the launched Confluence process in a file. When shutting down Confluence using stop-confluence.sh/stop-confluence.bat
script it first asks the process to shut down and waits for it to do so. If the process doesn't shut down cleanly within 20 seconds it uses the recorded pid
to kill the process.