if (system(@args1) != 0) { logEntry ("No repeater.pl is running, attempting to restart"); $repeater; } #### if (system(@args1) != 0) { logEntry ("No repeater.pl is running, attempting to restart"); $repeater = Proc::Background->new('/etc/squid/repeater/lib/repeater.pl'); } #### if (!$repeater->alive()) { logEntry ("No repeater.pl is running, attempting to restart"); $repeater = Proc::Background->new('/etc/squid/repeater/lib/repeater.pl'); }