mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
try fix export vars
This commit is contained in:
parent
da29510231
commit
b6d2b9078c
1 changed files with 2 additions and 1 deletions
|
@ -175,6 +175,7 @@ elif [ "$1" = "issue-cert" ]; then
|
||||||
echo "# preparing DUCKDNS"
|
echo "# preparing DUCKDNS"
|
||||||
dnsservice="dns_duckdns"
|
dnsservice="dns_duckdns"
|
||||||
export DuckDNS_Token=${token}
|
export DuckDNS_Token=${token}
|
||||||
|
DuckDNS_Token=${token}
|
||||||
else
|
else
|
||||||
echo "error='not supported dnsservice'"
|
echo "error='not supported dnsservice'"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -182,7 +183,7 @@ elif [ "$1" = "issue-cert" ]; then
|
||||||
|
|
||||||
# create certicicates
|
# create certicicates
|
||||||
echo "# creating certs"
|
echo "# creating certs"
|
||||||
. /home/admin/.acme.sh/acme.sh --home "/home/admin/.acme.sh" --config-home "/mnt/hdd/app-data/letsencrypt" --cert-home "/mnt/hdd/app-data/letsencrypt/certs" --issue --dns ${dnsservice} -d ${FQDN} --keylength ec-256 2>&1
|
/home/admin/.acme.sh/acme.sh --home "/home/admin/.acme.sh" --config-home "/mnt/hdd/app-data/letsencrypt" --cert-home "/mnt/hdd/app-data/letsencrypt/certs" --issue --dns ${dnsservice} -d ${FQDN} --keylength ec-256 2>&1
|
||||||
|
|
||||||
# replace certs for clearnet
|
# replace certs for clearnet
|
||||||
if [ "${options}" == "ip" ] || [ "${options}" == "ip&tor" ]; then
|
if [ "${options}" == "ip" ] || [ "${options}" == "ip&tor" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue