Hi, I would not advise daemonizing your program inside itself, nor to use Perl for it. I suggest writing your program and making it capable of running in single-process mode or with multiple workers (using MCE you can achieve single-process mode via the number of workers flag), and then separately installing and configuring it as a service (daemon) on the machines where it will run. The OS and standard utilities are much better designed to handle this and all related tasks, such as log rotation, startup at boot time, etc.
FWIW I recommend daemontools for Unices.
Hope this helps!
In reply to Re: Looking for a daemonizing module
by 1nickt
in thread Looking for a daemonizing module
by Dallaylaen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |