9 chdir $dir || die "can't chdir into $dir";
11 $SIG{__WARN__} = sub { print STDERR @_ if $ENV{DEBUG} };
13 my $driver = Gearman::Driver->new(
14 namespaces => [qw(APKPM)],
15 configfile => 'config.yaml',
17 logfile => 'log/gearman.log',
18 server => $ENV{GEARMAN} || 'localhost:4730',
20 job_runtime_attributes => {
21 'APKPM::Poll::poll_prefix' => {
25 'APKPM::Poll::poll_ip_username' => {
29 'APKPM::Ping::ping' => {
32 'APKPM::Davolink::info' => {
35 'APKPM::Store::insert' => {