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

Commit b1e0605

Browse files
committed
Avoid newlines being passed in command line arguments
1 parent daca110 commit b1e0605

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docker/conf-workers/synapse.supervisord.conf.j2

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

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

1717
{% for worker in workers %}
1818
[program:synapse_{{ worker.name }}]
19-
command=/usr/local/bin/prefix-log /usr/local/bin/python -m {{ worker.app }} \
20-
--config-path="{{ main_config_path }}" \
21-
--config-path=/conf/workers/shared.yaml \
22-
--config-path=/conf/workers/{{ worker.name }}.yaml
19+
command=/usr/local/bin/prefix-log /usr/local/bin/python -m {{ worker.app }} {#
20+
#} --config-path="{{ main_config_path }}" {#
21+
#} --config-path=/conf/workers/shared.yaml {#
22+
#} --config-path=/conf/workers/{{ worker.name }}.yaml
2323
autorestart=unexpected
2424
priority=500
2525
exitcodes=0

0 commit comments

Comments
 (0)