Created
October 29, 2013 21:34
-
-
Save bitemyapp/7223050 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### dev.env | |
export database_url="fake" | |
export rabbitmq_host="fakehost" | |
export fake_start_consumers="true" | |
export fake_start_web="true" | |
export push_schema="true" | |
export rabbitmq_fake_qname="fake" | |
##### upstart init | |
description "fake" | |
author "Chris Allen" | |
start on runlevel [345] | |
setuid fake | |
script | |
. /mnt/ebs/srv/fake/env.sh | |
cd /mnt/ebs/srv/fake | |
chown -R fake.fake /mnt/ebs/srv/fake | |
set -x | |
java -jar /mnt/ebs/srv/fake/fake.jar >> /mnt/ebs/log/fake/fake.log 2>&1 | |
emit fake_running | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment