mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-24 14:11:42 +00:00
Additional info messages for backup management
This commit is contained in:
parent
7d75ad4c56
commit
5d3de4b670
@ -178,6 +178,8 @@ sshdeploy_deploy() {
|
|||||||
_cmdstr="find $_homedir/* -type d -mtime +180 2>/dev/null | xargs rm -rf ; $_cmdstr"
|
_cmdstr="find $_homedir/* -type d -mtime +180 2>/dev/null | xargs rm -rf ; $_cmdstr"
|
||||||
# Create our backup directory for overwritten cert files.
|
# Create our backup directory for overwritten cert files.
|
||||||
_cmdstr="mkdir -p $_backupdir ; $_cmdstr"
|
_cmdstr="mkdir -p $_backupdir ; $_cmdstr"
|
||||||
|
_info "Backup of old certificate files will be placed in remote directory $_backupdir"
|
||||||
|
_info "Backup directories erased after 180 days."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_debug "Remote commands to execute: $_cmdstr"
|
_debug "Remote commands to execute: $_cmdstr"
|
||||||
|
Loading…
Reference in New Issue
Block a user