Merge branch 'master' of adellam/ansible-roles into master

This commit is contained in:
Andrea Dell'Amico 2019-10-30 10:38:22 +01:00 committed by Gitea
commit eb80077adc
1 changed files with 5 additions and 1 deletions

View File

@ -1,12 +1,16 @@
#!/bin/bash #!/bin/bash
if [ $# -ne 1 ] ; then
ACME_SH_ENV_FILE="$1"
fi
if [ -f "/etc/default/acme_sh_request_env" ] ; then if [ -f "/etc/default/acme_sh_request_env" ] ; then
. "/etc/default/acme_sh_request_env" . "/etc/default/acme_sh_request_env"
else else
exit 1 exit 1
fi fi
if [ -f "$ACME_SH_ENV_FILE" ] ; then if [ -n "$ACME_SH_ENV_FILE" ] && [ -f "$ACME_SH_ENV_FILE" ] ; then
. "$ACME_SH_ENV_FILE" . "$ACME_SH_ENV_FILE"
else else
exit 1 exit 1