3ECTCHKL2EQ4GPHGEGWK4CKPCAX7ERETRSPFGTV7IDYPZ2XZJ2ZAC FULDVXE2XVKVC3BB2GOE2N2YZ4GW7LT26TIBXKKOVPUXGDOA5WYQC XV4AEKJCFTNCOR52IRFYHORCNNFKIHOADIUARTC2U5Z6ZQBEEFYQC 24BMQDZAWDQ7VNIA7TIROXSOYLOJBNZ2E4264WHWNJAEN6ZB3UOAC LZVO64YG43JD7YMZSCTZNOBS5ROZA4FMPKJW2YOMHX2V5PTGBVWQC EFWN7JBV7YIHNMCA6ZGFRSHZIUQJ2EX57SWYGVT7ZRJCHPIM2R3QC J5UVLXOK6EDIL5I7VKWH4V2QDS4DPD7FHRK6XBWSXFRQS4JKXFZQC }sub queue_runner_status :Local :Path('queue-runner-status') :Args(0) :ActionClass('REST') { }sub queue_runner_status_GET {my ($self, $c) = @_;#my $status = from_json($c->model('DB::SystemStatus')->find('queue-runner')->status);my $status = from_json(`hydra-queue-runner --status`);if ($?) { $status->{status} = "unknown"; }my $json = JSON->new->pretty()->canonical();$c->stash->{template} = 'queue-runner-status.tt';$c->stash->{status} = $json->encode($status);$self->status_ok($c, entity => $status);