Title: Message
I don't know, perhaps I am doing something wrong or don't understand proper way to accomplish this.
 
I have a perl script using LWP, HTTP::Daemon, etc.
I have a startup script in /etc/rc2.d that attempts to start the perl script as such:
/opt/testscript/testscript.pl > /dev/null 2>&1 &
 
What happens is the /etc/rc2.d script runs but the perl script does not.
If I ssh to server and then su root, I can exec above stmt to start the script. The perl script is running.
The PPID of the spawned perl process is 1.
If I type exit to return from su, perl script continues to run.
If I type exit again to logoff, the script terminates.
 
How do I get my perl script to run ALL the time?
 

Reply via email to