in reply to Re: daemonize a perl script on redhat linux 7.3
in thread daemonize a perl script on redhat linux 7.3
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().