Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Getting a program to run permanently on a server

    I am installing a java voice chat program on my remote web server, which runs Redhat Linux. The server part of the program, which listens at a port and handles incoming and outgoing voice, is activated by typing "java directory.subdirectory,prgramname" on the command line. It works fine, but it stops working as soon as I log off from the system. What command(s) could I use to make this (or any other program) run permanently, even after I log off. I want people to be able to use the voice chat 24/7 whether I am logged in or not. Also, how would I turn it off, once it is on? It would be convenient to be able to do both from the command line. Unfortunately, the program is an old open source project that has no documentation.

  2. #2
    Linux Newbie
    Join Date
    Jan 2007
    Cupertino, CA
    man nohup
    man setsid

  3. #3
    Thanks, nikunjb. Nohup worked.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts