Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thrinathadevops authored Jun 22, 2024
1 parent 0a174dc commit aec62ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Shell_Scripts/server_restart/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
🔍 Key Features:

Server Detection: Identifies if the Tomcat server is running by checking the process ID (PID).

Start Server: Initiates the Tomcat server if it’s not running.

Stop and Restart Server: Stops the server if it’s running and restarts it after a 60-second interval to ensure a smooth transition.

Wait Interval: During a restart, the script waits for 60 seconds after stopping the server to ensure it has fully shut down before starting it again.

Error Handling: Improved error handling and logging to provide better feedback and ensure reliability.

🔄 Usage: This script is highly customizable and can be adapted to manage other servers like WebSphere or IBM HTTP Server by modifying the PID detection logic.
Expand Down

0 comments on commit aec62ae

Please sign in to comment.