daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Unit]
  2. Description=Apache Tomcat Web Application Container
  3. After=syslog.target network.target
  4.  
  5. [Service]
  6. Type=forking
  7.  
  8. Environment=JAVA_HOME=/usr/lib/jvm/jre
  9. Environment=CATALINA_PID=/opt/tomcat/temp/tomcat.pid
  10. Environment=CATALINA_HOME=/opt/tomcat
  11. Environment=CATALINA_BASE=/opt/tomcat
  12. Environment='CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC'
  13. Environment='JAVA_OPTS=-Djava.awt.headless=true -Djava.security.egd=file:/dev/./urandom'
  14.  
  15. ExecStart=/opt/tomcat/bin/startup.sh
  16. ExecStop=/bin/kill -15 $MAINPID
  17.  
  18. User=tomcat
  19. Group=tomcat
  20.  
  21. [Install]
  22. WantedBy=multi-user.target
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top