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
Romain Courteaud
slapos
Commits
168b6678
Commit
168b6678
authored
Feb 12, 2015
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! erp5 mariadb resiliency import script: make sure the script does not run forever.
parent
bb253011
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+1
-1
stack/erp5/template/instance-mariadb-resiliency-after-import-script.sh.in
...ate/instance-mariadb-resiliency-after-import-script.sh.in
+1
-0
No files found.
stack/erp5/buildout.cfg
View file @
168b6678
...
@@ -150,7 +150,7 @@ context =
...
@@ -150,7 +150,7 @@ context =
[mariadb-resiliency-after-import-script]
[mariadb-resiliency-after-import-script]
recipe = slapos.recipe.build:download
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/template/instance-mariadb-resiliency-after-import-script.sh.in
url = ${:_profile_base_location_}/template/instance-mariadb-resiliency-after-import-script.sh.in
md5sum =
06882a0620e3b976c0fa212dc16fd9cf
md5sum =
a9851920bb22ae58c2eb9dc3e955250c
mode = 755
mode = 755
[template-mariadb]
[template-mariadb]
...
...
stack/erp5/template/instance-mariadb-resiliency-after-import-script.sh.in
View file @
168b6678
...
@@ -55,6 +55,7 @@ sleep 60
...
@@ -55,6 +55,7 @@ sleep 60
# If mariadb_update is still running, abort
# If mariadb_update is still running, abort
if [ -d /proc/$mariadb_update_pid ]; then
if [ -d /proc/$mariadb_update_pid ]; then
echo "mariadb_update still running after timeout, aborting."
echo "mariadb_update still running after timeout, aborting."
kill $mariadb_update_pid
exit 1
exit 1
fi
fi
...
...
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