Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Avoid newlines being passed in command line arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
reivilibre committed Jun 15, 2022
1 parent daca110 commit b1e0605
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docker/conf-workers/synapse.supervisord.conf.j2
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

[program:synapse_main]
command=/usr/local/bin/prefix-log /usr/local/bin/python -m synapse.app.homeserver \
--config-path="{{ main_config_path }}" \
--config-path=/conf/workers/shared.yaml
command=/usr/local/bin/prefix-log /usr/local/bin/python -m synapse.app.homeserver {#
#} --config-path="{{ main_config_path }}" {#
#} --config-path=/conf/workers/shared.yaml
priority=10
# Log startup failures to supervisord's stdout/err
# Regular synapse logs will still go in the configured data directory
Expand All @@ -16,10 +16,10 @@ exitcodes=0

{% for worker in workers %}
[program:synapse_{{ worker.name }}]
command=/usr/local/bin/prefix-log /usr/local/bin/python -m {{ worker.app }} \
--config-path="{{ main_config_path }}" \
--config-path=/conf/workers/shared.yaml \
--config-path=/conf/workers/{{ worker.name }}.yaml
command=/usr/local/bin/prefix-log /usr/local/bin/python -m {{ worker.app }} {#
#} --config-path="{{ main_config_path }}" {#
#} --config-path=/conf/workers/shared.yaml {#
#} --config-path=/conf/workers/{{ worker.name }}.yaml
autorestart=unexpected
priority=500
exitcodes=0
Expand Down

0 comments on commit b1e0605

Please sign in to comment.