Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
3ce1b8c7
Commit
3ce1b8c7
authored
9 years ago
by
Erik Johnston
Browse files
Options
Downloads
Patches
Plain Diff
Don't keep appending report_stats to demo config
parent
13a6e9be
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
demo/start.sh
+6
-2
6 additions, 2 deletions
demo/start.sh
with
6 additions
and
2 deletions
demo/start.sh
+
6
−
2
View file @
3ce1b8c7
...
...
@@ -38,8 +38,12 @@ for port in 8080 8081 8082; do
perl
-p
-i
-e
's/^enable_registration:.*/enable_registration: true/g'
$DIR
/etc/
$port
.config
echo
"full_twisted_stacktraces: true"
>>
$DIR
/etc/
$port
.config
echo
"report_stats: false"
>>
$DIR
/etc/
$port
.config
if
!
grep
-F
"full_twisted_stacktraces"
-q
$DIR
/etc/
$port
.config
;
then
echo
"full_twisted_stacktraces: true"
>>
$DIR
/etc/
$port
.config
fi
if
!
grep
-F
"report_stats"
-q
$DIR
/etc/
$port
.config
;
then
echo
"report_stats: false"
>>
$DIR
/etc/
$port
.config
fi
python
-m
synapse.app.homeserver
\
--config-path
"
$DIR
/etc/
$port
.config"
\
...
...
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