Skip to content

Instantly share code, notes, and snippets.

@martypitt
Created May 20, 2013 13:52
Show Gist options
  • Save martypitt/5612362 to your computer and use it in GitHub Desktop.
Save martypitt/5612362 to your computer and use it in GitHub Desktop.
Conf file for cargo
# Cargo - Tomcat deployment manager
description "Cargo - Tomcat deploymnet manager"
start on filesystem or runlevel [2345]
stop on runlevel [!2345]
env HOME_DIR=/home/ubuntu/.cargo
exec /usr/bin/java -jar /home/ubuntu/cargo-daemon-webapp-1.4.0.war -Ddaemon.home=${HOME_DIR} -Dcargo.home=${HOME_DIR} >> /var/log/cargo.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment