Sudo vi /etc/systemd/system/rviceĭescription=Apache Tomcat Web Application ContainerĮnvironment=JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64/jreĮnvironment=CATALINA_PID=/opt/tomcat/temp/tomcat.pidĮnvironment='CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC'Įnvironment='JAVA_OPTS=true =file:/dev/./urandom' service file for Tomcat using an editor of your choice: The path will be needed for JAVA_HOME, which will be set in the next step. Next we need to get the current location of Java:.Sudo chown -R tomcat webapps/ work/ temp/ logs/
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |