Cause: There is a duplication of start process call during git deployment using rhc --from-code command.
Consequence: The second start process call will fail as the httpd port is already occupied which is due to previous start process call. A failure message will be logged as a result.
Fix: The conditional check is added to the code to verify the state of the application to identify of the application is already started or not. If it's already started, a restart process is called instead of a start process.
Result: The failure message is not longer logged as the duplicated start process is eliminated.