I run it from init...

>From /etc/inittab:

j1:345:respawn:/usr/local/sbin/startjboss

And /usr/local/sbin/startjboss:

#!/bin/sh
sleep 10
/bin/su -c "cd /home/jboss/jboss/bin ; sh run_with_tomcat.sh" - jboss

(The sleep keeps it from respawning too quickly if something is wrong)


David Green

On Tue, 26 Jun 2001, Richard Bottoms wrote:

> Anybody running JBoss at startup on their Linux server?
>
> I've tried getting it to go from an /etc/rc.d/rc3.d link to an init.d file.
> I can start the server if I do it manually, but it doesn't work during the
> startup process.
>
>
> r.b.
>
>
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to