I have googled this honest :-)
Scenario:
* centos 6 and jboss-as-7.1.1.Final
* How can you make it so if someone logs in as root and does `service jboss restart` how can you make it start as a non root user eg a user named t24 ?
I know we can use a startup script using "su -c" but i've been tasked with solving the above.
TIA etc
didds