First something general. You should probably take advantage of daemonizing code as it is not trivial. The two editions of the Perl cookbook have recommendations on this. Lincoln Stein's Perl network programming has code on this too. Search daemon on CPAN
Second, in the init script you should use absolute paths for perl and the script it tries to run. For the stop part (that is important too!) you need something like a pidfile that keeps the pid of the started process, so that in the stop part you test the pid reading the file and kill the daemon if up.
hth --stephanIn reply to Re: How do I start a perl daemon at boot time
by sgt
in thread How do I start a perl daemon at boot time
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |