From d1f23d064800a5fda6615ea98d8ea83870d1a988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn?= Date: Sun, 9 Aug 2020 19:40:43 +0200 Subject: [PATCH] adding smaller bugfixes, change letsencrpty --- app/Commands/LetsEncryptAddCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Commands/LetsEncryptAddCommand.php b/app/Commands/LetsEncryptAddCommand.php index b7249e3..70cd63f 100644 --- a/app/Commands/LetsEncryptAddCommand.php +++ b/app/Commands/LetsEncryptAddCommand.php @@ -21,7 +21,7 @@ class LetsEncryptAddCommand extends Command * * @var string */ - protected $signature = 'lets-encrypt:add {domain*}'; + protected $signature = 'lets-encrypt:add {email} {domain*} '; /** * The description of the command. @@ -46,7 +46,7 @@ class LetsEncryptAddCommand extends Command $domainFlags .= '-d '.$domain.' '; } - exec('certbot --nginx '.$domainFlags, $output); + exec('certbot --non-interactive --agree-tos -m '.$this->argument('email').' --nginx '.$domainFlags, $output); $this->line(implode("\n", $output)); } }