Create plugin to generate upstart job for script (i.e., AS startup)
-------------------------------------------------------------------
Key: SEAMFORGE-186
URL:
https://issues.jboss.org/browse/SEAMFORGE-186
Project: Seam Forge
Issue Type: Feature Request
Components: Blessed Plugins
Affects Versions: 1.0.0.Alpha3
Reporter: Dan Allen
There is a most excellent ruby gem called foreman that automates the application lifecycle
of servers. It does this by generating an upstart job (the next generation of the init
daemon for Linux) from any startup script. An obvious example is the AS startup script
(./bin/run.sh for AS 6, ./bin/standalone.sh for AS 7).
See:
http://torquebox.org/news/2011/05/11/simplify-your-deployment/
https://github.com/ohadlevy/foreman
http://upstart.ubuntu.com/
The downside is that you have to install ruby, ruby gems, then the foreman gem to make it
work. Aren't we using Java? That's why this functionality should be brought to
forge!
In the end, it simply generates a couple of configuration files that are read by upstart.
The result, you get these system commands:
start jboss-as
stop jboss-as
status jboss-as
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira