Bufixes
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cd /domains
|
|
||||||
|
|
||||||
email=$EMAIL
|
email=$EMAIL
|
||||||
|
|
||||||
start_letsencrypt() {
|
start_letsencrypt() {
|
||||||
@@ -16,7 +14,7 @@ start_letsencrypt() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
LETSENCRYPT_FILE=$(find . -type f -name letsencrypt);
|
LETSENCRYPT_FILE=$(find /acme.sh/ -type f -name letsencrypt);
|
||||||
if [ -n "$LETSENCRYPT_FILE" ] ; then
|
if [ -n "$LETSENCRYPT_FILE" ] ; then
|
||||||
DOMAIN=$(jq -r .DOMAIN $LETSENCRYPT_FILE) ;
|
DOMAIN=$(jq -r .DOMAIN $LETSENCRYPT_FILE) ;
|
||||||
start_letsencrypt;
|
start_letsencrypt;
|
||||||
|
Reference in New Issue
Block a user