Previous versions of JBoss included a scripts (like jboss_init_redhat.sh) that could be copied to /etc/init.d in order to add it as a service - so it would star
jboss_init_redhat.sh
Another way to run JBoss as a service on linux:
JBoss as service in linux