You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
368 B

import chalk from 'chalk'
import { command, execSync, log } from './helpers/command.js'
/**
* lets-encrypt.js
*
* installing lets encrypt and
* activate cerbot.timer for renew certifactes
*
*/
try {
log(chalk.green('Installing letsencrypt'))
command('apt-get install -y letsencrypt')
command('systemctl status certbot.timer')
} catch(error) {
}