Skip to content

Instantly share code, notes, and snippets.

@larubbio
Created January 30, 2012 18:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larubbio/1705727 to your computer and use it in GitHub Desktop.
Save larubbio/1705727 to your computer and use it in GitHub Desktop.
Motech Upstart config
# activemq
description "Active MQ"
pre-start script
# prepare environment
mkdir -p /var/log/motech
end script
console output
exec /opt/activemq/bin/activemq console >> /var/log/motech/activemq.log 2>&1
# couchdb
description "CouchDB"
pre-start script
# prepare environment
mkdir -p /var/log/motech
end script
console output
exec sudo /opt/couchdb/bin/couchdb /opt/couchdb/bin/couchdb >> /var/log/motech/couchdb.log 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment