diff --git a/Web/lib/MJB/Web/Task/UpdateSSLCerts.pm b/Web/lib/MJB/Web/Task/UpdateSSLCerts.pm index a5057b0..5f284cd 100644 --- a/Web/lib/MJB/Web/Task/UpdateSSLCerts.pm +++ b/Web/lib/MJB/Web/Task/UpdateSSLCerts.pm @@ -14,7 +14,7 @@ sub run ( $job ) { $job->note( _mds_template => 'update_ssl_certs' ); # Renew the SSL Certificates - $job->system_command( [ 'sudo', 'letsencrypt renew' ] ); + $job->system_command( [ 'sudo', 'certbot renew' ] ); $job->note( is_renew_done => 1 ); # Push the SSL Certificates diff --git a/Web/templates/admin/jobs.html.ep b/Web/templates/admin/jobs.html.ep index 4e5c668..b46f940 100644 --- a/Web/templates/admin/jobs.html.ep +++ b/Web/templates/admin/jobs.html.ep @@ -29,7 +29,7 @@ % my $index = 0; % foreach my $build ( $c->db->admin_jobs->all ) { % $index++; - % if ( my $build_job = $c->minion->job( $build->{job_id} ) ) { + % if ( my $build_job = $c->minion->job( $build->minion_job_id ) ) { % my $job = $build_job->info; % if ( $job->{state} eq 'finished' ) {