Minor fixes / typo to __rc_nginx_vhost, __uacme_obtain
This commit is contained in:
parent
b1aa3aa61d
commit
7abd3f2316
2 changed files with 5 additions and 2 deletions
|
@ -10,4 +10,4 @@ EOF
|
|||
)"
|
||||
export NGINX_LOGIC
|
||||
|
||||
"${__object:?}/files/generic.conf.sh"
|
||||
"${__type:?}/files/generic.conf.sh"
|
||||
|
|
|
@ -105,6 +105,9 @@ elif [ -z "$KEY_TARGET" ] && [ -n "$CERT_TARGET" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Make sure challengedir exist.
|
||||
__directory "$CHALLENGEDIR" --parents
|
||||
|
||||
# Generate and deploy renew script.
|
||||
mkdir -p "${__object:?}/files"
|
||||
"${__type:?}/files/renew.sh.sh" > "${__object:?}/files/uacme-renew.sh"
|
||||
|
@ -114,5 +117,5 @@ require="__directory/$CONFDIR/$MAIN_DOMAIN" __file "$CONFDIR/$MAIN_DOMAIN/renew.
|
|||
--mode 0755 --source "${__object:?}/files/uacme-renew.sh"
|
||||
|
||||
# Set up renew cronjob - initial issue done in gencode-remote.
|
||||
__cron "uacme-$MAIN_DOMAIN" --user root --hour 2 \
|
||||
__cron "uacme-$MAIN_DOMAIN" --user root --hour 2 --minute 0 \
|
||||
--command "$CONFDIR/$MAIN_DOMAIN/renew.sh"
|
||||
|
|
Reference in a new issue