Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compose.libre.sh
Manage
Activity
Members
Labels
Plan
Issues
18
Issue boards
Milestones
Wiki
Code
Merge requests
3
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
libre.sh
compose.libre.sh
Commits
d0b831d7
Unverified
Commit
d0b831d7
authored
7 years ago
by
SallySwartz
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Avoid provision to fail
parent
06bfde6b
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
utils/provision
+1
-1
1 addition, 1 deletion
utils/provision
with
1 addition
and
1 deletion
utils/provision
+
1
−
1
View file @
d0b831d7
...
...
@@ -107,7 +107,7 @@ function application () {
cd
/data/domains/
${
arg_u
}
if
[
-f
./scripts/install
]
;
then
export
URL
=
${
arg_u
}
CURRENT_SUBNET
=
$(
for
folder
in
`
ls
/data/domains
`
;
do
cat
/data/domains/
$folder
/.env |
grep
SUBNET |
cut
-d
"="
-f2
;
done
|
sort
-g
|
tail
-n1
)
CURRENT_SUBNET
=
$(
for
folder
in
`
ls
/data/domains
`
;
do
if
[
-f
/data/domains/
$folder
/.env
]
;
then
cat
/data/domains/
$folder
/.env
;
fi
|
grep
SUBNET |
cut
-d
"="
-f2
;
done
|
sort
-g
|
tail
-n1
)
export
SUBNET
=
$((
$CURRENT_SUBNET
+
1
))
if
[
-z
${
MAIL_DOMAIN
:-}
]
;
then
warning
"you have no email server setup, we'll print a random configuration in your application. Make sure to check the parameters for your app to send proper emails."
...
...
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