Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
5d3de4b6
Commit
5d3de4b6
authored
Feb 05, 2017
by
David Kerr
Browse files
Additional info messages for backup management
parent
7d75ad4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/sshdeploy.sh
View file @
5d3de4b6
...
@@ -178,6 +178,8 @@ sshdeploy_deploy() {
...
@@ -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
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment