12.1 Web Viewer - Needed: Linux service block to start/stop Web Viewer/Tomcat

book

Article ID: 195177

calendar_today

Updated On:

Products

CA Output Management Web Viewer

Issue/Introduction

We could use a zLinux service block to start/stop 12.1 ca-OMWV Apache Tomcat on a z/Linux system.

Environment

Release : 12.1

Component : CA OUTPUT MANAGEMENT WEB VIEWER FOR ALL PLATFORMS

Resolution

[Unit]
Description=CA Output Management Web Viewer
[Service]
Type=forking
RemainAfterExit=yes
User=caomwv
ExecStart=/caomwv/CA_OM_Web_Viewer/apache-tomcat-8.5.4/bin/startup.sh
ExecStop=/caomwv/CA_OM_Web_Viewer/apache-tomcat-8.5.4/bin/shutdown.sh
[Install]
WantedBy=multi-user.target

Additional Information

This would have to be customized per the individual servers requirements.