Skip to content
Snippets Groups Projects
Commit 7cdcb6f3 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

delete files before acme.sh --install-cert ... command

parent 351bbe37
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,10 @@ function _certTransfer(){ ...@@ -94,7 +94,10 @@ function _certTransfer(){
_wd "--- acme internal data - ~/.acme.sh/${CM_fqdn}" _wd "--- acme internal data - ~/.acme.sh/${CM_fqdn}"
ls -l ~/.acme.sh/${CM_fqdn} ls -l ~/.acme.sh/${CM_fqdn}
_wd "--- transfer acme.sh files to ${CM_dircerts}" _wd "--- delete current files in ${CM_dircerts}/ if they already exist."
test -d ${CM_dircerts} && rm -f "${CM_dircerts}/*" 2>/dev/null
_wd "--- transfer acme.sh files to ${CM_dircerts}/"
$ACME \ $ACME \
--install-cert \ --install-cert \
-d ${CM_fqdn} \ -d ${CM_fqdn} \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment