master
Manager Bot 3 years ago
parent 049c3faada
commit 8ff9f5b1e6
  1. 2
      Web/lib/MJB/Web/Task/UpdateSSLCerts.pm
  2. 2
      Web/templates/admin/jobs.html.ep

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

@ -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' ) {

Loading…
Cancel
Save