[JDEV] aim-t and icq-t

Orion (Steve Pirk) orion at deathcon.com
Fri Aug 18 12:22:46 CDT 2000


The easiest way to do this would be to "fork" the processes off.

Essentially, you want to execite the command, sending standard out to 
the null device or to a file, and then "background the process. When the
shell you started the program in exits, the child process (icq-t) stays
running as a separate process.

Here is an example:
/usr/local/bin/jserver > /dev/null 2>&1 &
The > /dev/null sends output from the program to the null device instead
of your current window, and 2>&1 assists in this process in some obscure
unix magic way. The final & put the process in the background so you shell
can continue to work.

If you want to have thse start at book time, put commands like this at
the end of the rc.local file. If you want the services to run as a user
other than root, then you can try:

su - non-root-user; /usr/local/bin/jserver > /dev/null 2>&1 &
This will start the jserver as that user at boot time.

Hope this helps

Steve
Orion. DeathCon.com Quake server Admin
http://www.deathcon.com
Think of it as evolution in action.

On Thu, 17 Aug 2000, rTerra wrote:

> I've been able to get jabber server installed and running on my red hat 6.2 system.
> I use the msn-t, icq-t, aim-t and yahoo-t. The problem is that I can not get the aim-t and icq-t to load on boot. They both seem to need their own area to run in. I boot to xwindow and start a console app for each and load them manually and both work gr
eat. If I shut down the console app for either it shuts down the transport. Is their a way to get these two transports to load as 'services' (Im new to the linux world dont know what they are called over here.) 
> 
> Thanks,
> Rick Robinson
> Terra Access
> 





More information about the JDev mailing list