Need Linux service block to start/stop OM Web Viewer 12.1 /Apache Tomcat®
search cancel

Need Linux service block to start/stop OM Web Viewer 12.1 /Apache Tomcat®

book

Article ID: 195177

calendar_today

Updated On:

Products

Output Management Web Viewer

Issue/Introduction

We could use a zLinux service block to start/stop OM Web Viewer / Apache Tomcat® on a Linux zSeries system.

Environment

  • Output Management Web Viewer 12.1
  • Linux zSeries
  • Apache Tomcat®

Resolution

[Unit]
Description=Output Management Web Viewer
[Service]
Type=forking
RemainAfterExit=yes
User=<user>
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.