in reply to Re: Writing a Perl Daemon
in thread Writing a Perl Daemon

You forgot to include your hold_pid_file function - prob why it doesn't work.