Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jean-Paul Smets
slapos
Commits
de4c042c
Commit
de4c042c
authored
Mar 06, 2014
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Status should always include stat path.
parent
c69677f9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
software/backupserver/software.cfg
software/backupserver/software.cfg
+1
-1
software/backupserver/template-backup-script.sh.in
software/backupserver/template-backup-script.sh.in
+1
-1
No files found.
software/backupserver/software.cfg
View file @
de4c042c
...
@@ -211,7 +211,7 @@ mode = 0644
...
@@ -211,7 +211,7 @@ mode = 0644
[template-backup-script]
[template-backup-script]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/template-backup-script.sh.in
url = ${:_profile_base_location_}/template-backup-script.sh.in
md5sum =
3c4ad4b9a1ecef88f35a84ceb84a3ec6
md5sum =
0d8fb8ea80966af7d67ad50d50547dce
output = ${buildout:directory}/template-backup-script.sh.in
output = ${buildout:directory}/template-backup-script.sh.in
mode = 0644
mode = 0644
...
...
software/backupserver/template-backup-script.sh.in
View file @
de4c042c
...
@@ -9,7 +9,7 @@ ${coreutils-output:rm} -f $${:status_log}
...
@@ -9,7 +9,7 @@ ${coreutils-output:rm} -f $${:status_log}
${coreutils-output:rm} -f $${:statistic_log}
${coreutils-output:rm} -f $${:statistic_log}
# Inform about beginning of backup
# Inform about beginning of backup
${coreutils-output:echo} "`${coreutils-output:date} -u`, $${:hostname} backup running" >> $${:status_log}
${coreutils-output:echo} "`${coreutils-output:date} -u`,
$${:statistic_log},
$${:hostname} backup running" >> $${:status_log}
${coreutils-output:echo} "Available only if backup succeed." >> $${:statistic_log}
${coreutils-output:echo} "Available only if backup succeed." >> $${:statistic_log}
# set -e
# set -e
...
...
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