Bufixes
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd /domains
|
||||
|
||||
email=$EMAIL
|
||||
|
||||
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
|
||||
DOMAIN=$(jq -r .DOMAIN $LETSENCRYPT_FILE) ;
|
||||
start_letsencrypt;
|
||||
|
Reference in New Issue
Block a user