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
Hardik Juneja
slapos
Commits
1437191c
Commit
1437191c
authored
Oct 12, 2017
by
Hardik Juneja
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slaprunner: Fix stdout redirection to tee, so tee kills gracefully if the parent process dies.
parent
4d23a1b8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
software/slaprunner/buildout.hash.cfg
software/slaprunner/buildout.hash.cfg
+2
-2
software/slaprunner/template/runner-export.sh.jinja2
software/slaprunner/template/runner-export.sh.jinja2
+1
-1
software/slaprunner/template/runner-import.sh.jinja2
software/slaprunner/template/runner-import.sh.jinja2
+1
-1
No files found.
software/slaprunner/buildout.hash.cfg
View file @
1437191c
...
@@ -23,7 +23,7 @@ md5sum = 1fc2697fe262591db0a6039c47b115c7
...
@@ -23,7 +23,7 @@ md5sum = 1fc2697fe262591db0a6039c47b115c7
[template-runner-import-script]
[template-runner-import-script]
filename = template/runner-import.sh.jinja2
filename = template/runner-import.sh.jinja2
md5sum =
130193114cbbcd014af9704851410605
md5sum =
6188b0a998d12099f471cadae1ff9a01
[instance-runner-import]
[instance-runner-import]
filename = instance-runner-import.cfg.in
filename = instance-runner-import.cfg.in
...
@@ -31,7 +31,7 @@ md5sum = 5cfa49bcf20612844e1c50a85740d0b3
...
@@ -31,7 +31,7 @@ md5sum = 5cfa49bcf20612844e1c50a85740d0b3
[template-runner-export-script]
[template-runner-export-script]
filename = template/runner-export.sh.jinja2
filename = template/runner-export.sh.jinja2
md5sum =
78b2454951e6dbe124612eafebcf5690
md5sum =
8866e3842867148bda5c189ec504c729
[instance-runner-export]
[instance-runner-export]
filename = instance-runner-export.cfg.in
filename = instance-runner-export.cfg.in
...
...
software/slaprunner/template/runner-export.sh.jinja2
View file @
1437191c
...
@@ -8,7 +8,7 @@ umask 077
...
@@ -8,7 +8,7 @@ umask 077
set -eu
set -eu
# Redirect output to log
# Redirect output to log
exec > >(tee -ai '{{ output_log_file }}')
exec > >(
exec
tee -ai '{{ output_log_file }}')
exec 2>&1
exec 2>&1
echo -e "\n\n$0 run at : $(date)"
echo -e "\n\n$0 run at : $(date)"
...
...
software/slaprunner/template/runner-import.sh.jinja2
View file @
1437191c
...
@@ -8,7 +8,7 @@ umask 077
...
@@ -8,7 +8,7 @@ umask 077
set -eu
set -eu
# Redirect output to log
# Redirect output to log
exec > >(tee -ai '{{ output_log_file }}')
exec > >(
exec
tee -ai '{{ output_log_file }}')
exec 2>&1
exec 2>&1
echo -e "\n\n$0 run at : $(date)"
echo -e "\n\n$0 run at : $(date)"
...
...
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