mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
This commit is contained in:
parent
ad8940ad73
commit
f63409eed9
12
acme.sh
12
acme.sh
@ -5713,8 +5713,16 @@ installcronjob() {
|
|||||||
if [ -f "$LE_WORKING_DIR/$PROJECT_ENTRY" ]; then
|
if [ -f "$LE_WORKING_DIR/$PROJECT_ENTRY" ]; then
|
||||||
lesh="\"$LE_WORKING_DIR\"/$PROJECT_ENTRY"
|
lesh="\"$LE_WORKING_DIR\"/$PROJECT_ENTRY"
|
||||||
else
|
else
|
||||||
_err "Can not install cronjob, $PROJECT_ENTRY not found."
|
_debug "_SCRIPT_" "$_SCRIPT_"
|
||||||
return 1
|
_script="$(_readlink "$_SCRIPT_")"
|
||||||
|
_debug _script "$_script"
|
||||||
|
if [ -f "$_script" ]; then
|
||||||
|
_info "Using the current script from: $_script"
|
||||||
|
lesh="$_script"
|
||||||
|
else
|
||||||
|
_err "Can not install cronjob, $PROJECT_ENTRY not found."
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if [ "$_c_home" ]; then
|
if [ "$_c_home" ]; then
|
||||||
_c_entry="--config-home \"$_c_home\" "
|
_c_entry="--config-home \"$_c_home\" "
|
||||||
|
Loading…
Reference in New Issue
Block a user