Browse Source

adding smaller bugfixes, change letsencrpty

release/0.1
Björn 4 years ago
parent
commit
d1f23d0648
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/Commands/LetsEncryptAddCommand.php

+ 2
- 2
app/Commands/LetsEncryptAddCommand.php View File

@ -21,7 +21,7 @@ class LetsEncryptAddCommand extends Command
* *
* @var string * @var string
*/ */
protected $signature = 'lets-encrypt:add {domain*}';
protected $signature = 'lets-encrypt:add {email} {domain*} ';
/** /**
* The description of the command. * The description of the command.
@ -46,7 +46,7 @@ class LetsEncryptAddCommand extends Command
$domainFlags .= '-d '.$domain.' '; $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)); $this->line(implode("\n", $output));
} }
} }

Loading…
Cancel
Save