Created
February 27, 2018 18:04
-
-
Save djraw/e1e725fc88481f852885ddc11212b629 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Systemd unit file for BMC Midtier with embedded tomcat 7.x | |
[Unit] | |
Description=AR midtier - Apache Tomcat 7 | |
Wants=syslog.target network.target | |
After=syslog.target network.target | |
[Service] | |
Type=forking | |
ExecStart=/opt/apache/tomcat7/bin/startup.sh | |
ExecStop=/opt/apache/tomcat7/bin/shutdown.sh | |
SuccessExitStatus=143 | |
RestartSec=10 | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment