I have only made a copy of the original daemon as suggested here https://access.redhat.com/solutions/1166283. Now there are two daemons with two sets of configuration and even log files. One is configured to connect to one server and the second one is configured to connect to the second server. The functionality to connect to more than one server within a daemon is not used.
For writing a daemon, I have followed this template Re: Writing a Perl Daemon.
In reply to Re^3: Multiple forks with Proc::Daemon
by markoh
in thread Multiple forks with Proc::Daemon
by markoh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |