One idea might be to require the location of the PID file on the command line.
daemon.pl -p /var/run/task1.pid ... daemon.pl -p /var/run/task2.pid ...
In reply to Re: Running multiple instances of a daemon simultaneously?
by Anonymous Monk
in thread Running multiple instances of a daemon simultaneously?
by Trenin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |