Sorry if this is a bit of a basic question, I'm fairly inexperienced with Ubuntu and Linux in general.
I am looking to upgrade an application server from JBoss EAP 5 to Jboss EAP 6, previously we have sent out customers instructions to run JBoss EAP 5 on startup so I'm looking to do the same for JBoss EAP 6. I've got it to work in one way, by adding the following line to
Although from what I've read this isn't really a recommended approach. From what I can understand the approach we used for JBoss 5 involved putting a symbolic link into the run level initialisation directories (
/etc/rc2.d/ for example) that referenced another script in
/etc/init.d to start the service.
I've tried this for JBoss 6.1, and although if I manually start the process up with "
sh /etc/rc2.d/S01jboss6.1", JBoss starts to run, this process does not run of it's own accord on startup.
I believe I'm correct in thinking Ubuntu starts up in run level 2 so is it not the case that this script in /etc/rc2.d/ should run when the OS is booted?