Browse Source

Merge pull request #2224 from honzahommer/feat-install-noprofile

Add `--noprofile` option to `install` command
dnsconf
neil 6 years ago
committed by GitHub
parent
commit
53dcd0dee9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      acme.sh

7
acme.sh

@ -5795,6 +5795,7 @@ Parameters:
--ca-bundle Specifies the path to the CA certificate bundle to verify api server's certificate. --ca-bundle Specifies the path to the CA certificate bundle to verify api server's certificate.
--ca-path Specifies directory containing CA certificates in PEM format, used by wget or curl. --ca-path Specifies directory containing CA certificates in PEM format, used by wget or curl.
--nocron Only valid for '--install' command, which means: do not install the default cron job. In this case, the certs will not be renewed automatically. --nocron Only valid for '--install' command, which means: do not install the default cron job. In this case, the certs will not be renewed automatically.
--noprofile Only valid for '--install' command, which means: do not install aliases to user profile.
--no-color Do not output color text. --no-color Do not output color text.
--force-color Force output of color text. Useful for non-interactive use with the aha tool for HTML E-Mails. --force-color Force output of color text. Useful for non-interactive use with the aha tool for HTML E-Mails.
--ecc Specifies to use the ECC cert. Valid for '--install-cert', '--renew', '--revoke', '--toPkcs' and '--createCSR' --ecc Specifies to use the ECC cert. Valid for '--install-cert', '--renew', '--revoke', '--toPkcs' and '--createCSR'
@ -5928,6 +5929,7 @@ _process() {
_ca_bundle="" _ca_bundle=""
_ca_path="" _ca_path=""
_nocron="" _nocron=""
_noprofile=""
_ecc="" _ecc=""
_csr="" _csr=""
_pre_hook="" _pre_hook=""
@ -6272,6 +6274,9 @@ _process() {
--nocron) --nocron)
_nocron="1" _nocron="1"
;; ;;
--noprofile)
_noprofile="1"
;;
--no-color) --no-color)
export ACME_NO_COLOR=1 export ACME_NO_COLOR=1
;; ;;
@ -6430,7 +6435,7 @@ _process() {
fi fi
case "${_CMD}" in case "${_CMD}" in
install) install "$_nocron" "$_confighome" ;;
install) install "$_nocron" "$_confighome" "$_noprofile" ;;
uninstall) uninstall "$_nocron" ;; uninstall) uninstall "$_nocron" ;;
upgrade) upgrade ;; upgrade) upgrade ;;
issue) issue)

Loading…
Cancel
Save