-
1. Re: Jboss startup under Slackware
jonlee Nov 4, 2003 6:21 PM (in response to john_anderson_ii)The following works for Slackware 9.1. I usually have JBoss running automatically when I boot my laptop.
You will need this in the run.sh script for JBoss to capture the PID.
echo $$ > /tmp/jboss.pid
The script is intended to run as root and then the script runs the JBoss process as the apache user. The less privileged account means that run.sh cannot write the PID to /var/run/jboss.pid directly, hence the messing around with the transfer in the rc.d script. The most important point is to send the run script into the background and reroute all console output to a designated log file. -
2. Re: Jboss startup under Slackware
john_anderson_ii Nov 5, 2003 9:26 AM (in response to john_anderson_ii)Awesome!
Thanks man, I'll put this to good use right away. -
3. Re: Jboss startup under Slackware
john_anderson_ii Nov 5, 2003 12:22 PM (in response to john_anderson_ii)Update!
Works like a champ! It still binds to my tty if I start or restart it manually, but that doesn't matter as it is not listed as a job attached my uid. Therefore it doesn't exit when I logout.
Thanks again.