Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
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
Maunium
synapse
Commits
f99554b1
Commit
f99554b1
authored
5 years ago
by
Jorik Schellekens
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Remove deprecated 'verbose' cli arg"
This reverts commit
dc7cf812
.
parent
dc7cf812
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
demo/start.sh
+4
-3
4 additions, 3 deletions
demo/start.sh
with
4 additions
and
3 deletions
demo/start.sh
+
4
−
3
View file @
f99554b1
...
@@ -29,7 +29,7 @@ for port in 8080 8081 8082; do
...
@@ -29,7 +29,7 @@ for port in 8080 8081 8082; do
if
!
grep
-F
"Customisation made by demo/start.sh"
-q
$DIR
/etc/
$port
.config
;
then
if
!
grep
-F
"Customisation made by demo/start.sh"
-q
$DIR
/etc/
$port
.config
;
then
printf
'\n\n# Customisation made by demo/start.sh\n'
>>
$DIR
/etc/
$port
.config
printf
'\n\n# Customisation made by demo/start.sh\n'
>>
$DIR
/etc/
$port
.config
echo
'enable_registration: true'
>>
$DIR
/etc/
$port
.config
echo
'enable_registration: true'
>>
$DIR
/etc/
$port
.config
# Warning, this heredoc depends on the interaction of tabs and spaces. Please don't
# Warning, this heredoc depends on the interaction of tabs and spaces. Please don't
...
@@ -43,7 +43,7 @@ for port in 8080 8081 8082; do
...
@@ -43,7 +43,7 @@ for port in 8080 8081 8082; do
tls: true
tls: true
resources:
resources:
- names: [client, federation]
- names: [client, federation]
- port:
$port
- port:
$port
tls: false
tls: false
bind_addresses: ['::1', '127.0.0.1']
bind_addresses: ['::1', '127.0.0.1']
...
@@ -68,7 +68,7 @@ for port in 8080 8081 8082; do
...
@@ -68,7 +68,7 @@ for port in 8080 8081 8082; do
# Generate tls keys
# Generate tls keys
openssl req
-x509
-newkey
rsa:4096
-keyout
$DIR
/etc/localhost
\:
$https_port
.tls.key
-out
$DIR
/etc/localhost
\:
$https_port
.tls.crt
-days
365
-nodes
-subj
"/O=matrix"
openssl req
-x509
-newkey
rsa:4096
-keyout
$DIR
/etc/localhost
\:
$https_port
.tls.key
-out
$DIR
/etc/localhost
\:
$https_port
.tls.crt
-days
365
-nodes
-subj
"/O=matrix"
# Ignore keys from the trusted keys server
# Ignore keys from the trusted keys server
echo
'# Ignore keys from the trusted keys server'
>>
$DIR
/etc/
$port
.config
echo
'# Ignore keys from the trusted keys server'
>>
$DIR
/etc/
$port
.config
echo
'trusted_key_servers:'
>>
$DIR
/etc/
$port
.config
echo
'trusted_key_servers:'
>>
$DIR
/etc/
$port
.config
...
@@ -120,6 +120,7 @@ for port in 8080 8081 8082; do
...
@@ -120,6 +120,7 @@ for port in 8080 8081 8082; do
python3
-m
synapse.app.homeserver
\
python3
-m
synapse.app.homeserver
\
--config-path
"
$DIR
/etc/
$port
.config"
\
--config-path
"
$DIR
/etc/
$port
.config"
\
-D
\
-D
\
-vv
\
popd
popd
done
done
...
...
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