in reply to Running multiple instances of a daemon simultaneously?

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 ...

Replies are listed 'Best First'.
Re^2: Running multiple instances of a daemon simultaneously?
by Trenin (Initiate) on Aug 07, 2014 at 16:24 UTC
    Thanks for the suggestion; I may go with this.