background process

good morning :-)

I have this script: /usr/local/directory/filename.pl which opens a port on the server and listens to the input.

This script should be running 24 hours a day and start when system is bootet.

I did already test this .PL and it works fine, but as soon as I close the SSH or Telnet session the script stops, too.

How can I launch the script so that it works in background until somebody comes and kills the process?

I did try to create e new user on my RH 7.2 box and started the script with this new user under webmin. But as soon as I close webmin the .PL script stops, too background process

Any idea? Thanks!

 

 

 

 

Top