将resin-version/contrib/init.resin.in复制到/etc/rc.d/init.d/resin修改resin中的一些设置:JAVA_HOME RESIN_HOME USER 等用/sbin/chkconfig resin on将RESIN服务在启动级别345设置成自启动