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