Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
borderColor#cccccc
bgColor#eeeeee
borderStylesolid

[Unit]
Description=Apache Tomcat
After=syslog.target network.target

[Service]
User=tomcat
Group=tomcat
Type=oneshot
PIDFile=/usr/share/tomcat/tomcat.pid
RemainAfterExit=yes
#EnvironmentFile=/etc/sysconfig/tomcat
ExecStart=/usr/share/tomcat/bin/startup.sh
ExecStop=/usr/share/tomcat/bin/shutdown.sh
Environment=’CATALINA"CATALINA_OPTS=-Xms512M Xms1500m -Xmx512M Xmx1500m -server -XX:+UseParallelGC’UseParallelGC"
Environment=’JAVA"JAVA_OPTS=-Djava.awt.headless=true -Djava.security.egd=file:/dev/./urandom"

KillMode=none

[Install]
WantedBy=multi-user.target

...