Start up on boot for Linux
This is a useful script for starting up LAMS on boot
For JBoss 5.1
Create a file called lams2 in /etc/init.d/ and modify the script below to fit your JAVA_HOME, IP, _JBOSS_USER, etc.
In Centos/RHEL5, make sure you download the start-stop-daemon source and compile as follows
Add lams2 script to unix services