Created
May 11, 2011 17:12
-
-
Save lance/966889 to your computer and use it in GitHub Desktop.
Deploying TorqueBox
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
>> lanceball @ Neptune () ~/torquebox/current/jboss << | |
$ foreman export upstart /etc/init | |
[foreman export] writing: /etc/init/jboss.conf | |
[foreman export] writing: /etc/init/jboss-torquebox.conf | |
[foreman export] writing: /etc/init/jboss-torquebox-1.conf |
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
torquebox: ./bin/run.sh |
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
$ start jboss | |
jboss start/running | |
$ restart jboss | |
jboss start/running |
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
application: | |
root: /path/to/app | |
queues: | |
/queues/slow_task_queue: | |
/queues/fast_task_queue: | |
messaging: | |
/queues/slow_task_queue: SlowTaskHandler | |
/queues/fast_task_queue: FastTaskHandler | |
jobs: | |
mail.notifier: | |
job: Mail::Notifier | |
cron: '0 */5 * * * ?' | |
description: Deliver queued mail notifications | |
services: | |
TwitterFeedConsumer: | |
singleton: true | |
name: Twitter Feed Consumer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment