Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docker-onlyoffice-documentserver
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
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
TO
docker-onlyoffice-documentserver
Commits
db01421f
Commit
db01421f
authored
5 years ago
by
Alexey Golubev
Browse files
Options
Downloads
Patches
Plain Diff
Fix #183
parent
77d47eec
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
run-document-server.sh
+10
-0
10 additions, 0 deletions
run-document-server.sh
with
10 additions
and
0 deletions
run-document-server.sh
+
10
−
0
View file @
db01421f
...
...
@@ -109,6 +109,7 @@ parse_rabbitmq_url(){
# extract the path (if any)
local
path
=
"
$(
echo
$url
|
grep
/ |
cut
-d
/
-f2-
)
"
AMQP_SERVER_PROTO
=
${
proto
:0:-3
}
AMQP_SERVER_HOST
=
$host
AMQP_SERVER_USER
=
$user
AMQP_SERVER_PASS
=
$pass
...
...
@@ -176,6 +177,15 @@ update_rabbitmq_setting(){
else
${
JSON
}
-I
-e
"delete this.activemq.connectOptions.password"
fi
case
"
${
AMQP_SERVER_PROTO
}
"
in
amqp+ssl|amqps
)
${
JSON
}
-I
-e
"this.activemq.connectOptions.transport = 'tls'"
;;
*
)
${
JSON
}
-I
-e
"delete this.activemq.connectOptions.transport"
;;
esac
fi
}
...
...
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