parent
df78564eea
commit
4f09e4759b
2 changed files with 23 additions and 8 deletions
@ -0,0 +1,14 @@ |
||||
package MJB::Web::Task::SyncSSLCerts; |
||||
use Mojo::Base 'MJB::Web::Task', -signatures; |
||||
use IPC::Run3; |
||||
|
||||
sub run ( $job ) { |
||||
$job->note( _mds_template => 'build_static' ); |
||||
|
||||
# Push the SSL Certificates |
||||
my $result = $job->system_command( [ 'sudo', 'letsencrypt-cert-push' ] ); |
||||
|
||||
$job->finish(); |
||||
} |
||||
|
||||
1; |
||||
Loading…
Reference in new issue