Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compose.libre.sh
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ecobytes
compose.libre.sh
Commits
286ef860
Commit
286ef860
authored
10 years ago
by
Pierre Ozoux
Browse files
Options
Downloads
Patches
Plain Diff
fixes
#50
do not allow multiple host creation
parent
8f1968f0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/start.sh
+7
-0
7 additions, 0 deletions
scripts/start.sh
with
7 additions
and
0 deletions
scripts/start.sh
+
7
−
0
View file @
286ef860
...
@@ -2,6 +2,13 @@
...
@@ -2,6 +2,13 @@
ROOT_DIR
=
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
/..
ROOT_DIR
=
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
/..
# check if there are already running servers
if
[
"
$(
cat
/etc/hosts |
grep
-q
'.test'
;
echo
$?
)
"
-eq
0
]
;
then
echo
"It looks like some servers are still running."
echo
"please run ./script.stop.sh first if you want to create new servers."
exit
1
fi
# Create backup for tests
# Create backup for tests
$ROOT_DIR
/scripts/create_vultr.sh backup.test
$ROOT_DIR
/scripts/create_vultr.sh backup.test
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment