systemd tomcat.service exit code status=143

Latest response

Anyone seen this issue below on Red Hat Enterprise Linux Server 7.2 ?

ExecStop=/opt/pacer/work/bin/shutdown.sh (code=exited, status=1/FAILURE)
(code=exited, status=143)

Tomcat.service starts fine, however, when i stop the service with "systemctl stop tomcat.service" I see the exit status code 143. I have added the StatusExitStatus=143 in /etc/systemd/system/tomcat.service and works fine but I think it's just a work around for now.

Responses

Not unheard of. The workaround you implemented enables the application to handle the exit signal properly.

Systemd tomcat.service failed with no errors

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.