touch /etc/init.d/jboss
chmod 755 /etc/init.d/jboss
vi /etc/init.d/jboss