Additional info messages for backup management

This commit is contained in:
David Kerr 2017-02-05 14:39:25 -05:00
parent 7d75ad4c56
commit 5d3de4b670

View File

@ -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"