Skip to content

Instantly share code, notes, and snippets.

View zohnyc's full-sized avatar

Zoh Rothberg zohnyc

View GitHub Profile
witscher / tomcat.conf
Created June 13, 2012 13:24
Apache Tomcat Upstart script
description "Tomcat Server"
start on runlevel [2345]
stop on runlevel [!2345]
respawn limit 10 5
# run as non privileged user
# add user with this command:
## adduser --system --ingroup www-data --home /opt/apache-tomcat apache-tomcat