in reply to daemonize a perl script on redhat linux 7.3

Am I missing something when i say run it using init.d ?
  • Comment on Re: daemonize a perl script on redhat linux 7.3

Replies are listed 'Best First'.
Re: Re: daemonize a perl script on redhat linux 7.3
by peschkaj (Pilgrim) on Jul 31, 2002 at 14:18 UTC
    Running it from init.d won't daemonize it. It will just execute the program. You need to make sure the process will piddle about forever waiting for input/whatever. Hence disassociating it from the terminal and using setsid().